Skip to main content
API Endpoint: https://api.yelinai.com/v1/images/generationsAvailable Models:
  • seedream-4-0-250828 - $0.035/image
  • seedream-4-5-251128 - $0.045/image (Latest version)
Billing: Pay-per-use **Pricing Update Notice (January 2026)**Official subsidy has ended, SeeDream prices have been adjusted:
  • SeeDream 4.0: 0.025/image→∗∗0.025/image → **0.025/image→∗∗0.035/image**
  • SeeDream 4.5 (New version): $0.045/image

Prerequisites

1 Get API Key Log in to YeLIn AI console to obtain your API key 2 Configure Billing Mode Edit token settings and choose one of the following billing modes (same price for both):
  • Volume Priority (Recommended): Uses balance billing first, automatically switches when balance is insufficient. Suitable for most users
  • Pay-per-call: Direct deduction for each call. Suitable for strict budget control scenarios
Both modes have exactly the same price, only the billing method differs. SeeDream 4.0 is 0.035/image,4.5is0.035/image, 4.5 is 0.045/image.
请在 Console 查看对应界面截图。
If billing mode is not configured, API calls will fail. You must complete this configuration first!

Changelog

September 11, 2025 - SeeDream 4.0 API launched officially, integrated by LaoZhang AI on the same day

Core Features

Text-to-Image

Generate high-quality images from text descriptions

Image-to-Image

AI editing and redrawing based on source images

Multi-Image Input

Supports up to 10 reference images

Flexible Dimensions

Customizable image resolution and size

OpenAI Format

Fully compatible with OpenAI Image API format

Flexible Versions

4.0 at 0.035/image,4.5at0.035/image, 4.5 at 0.035/image,4.5at0.045/image

Key Information

Source

Strategic PartnershipSeeDream 4.0 is powered by BytePlus Ark (international version). LaoZhang AI has established a strategic partnership to provide you with stable and reliable service.

Technical Specifications

Versions & Pricing

💰 Pricing Details
  • SeeDream 4.0: $0.035/image (approximately ¥0.25/image)
  • SeeDream 4.5: $0.045/image (approximately ¥0.32/image)
  • Recharge Bonus: Bulk recharge gets +10% bonus

Getting Started

1 Create Token Login to LaoZhang API Token Management and create a pay-per-use token(截图请在 Console 查看) 2 Select Billing Type Important: Must select “Pay-per-use” type 3 Save Token Copy the generated token (format: sk-xxxxxx) and replace API_KEY in the code

Text-to-Image

Python Version

Curl Simple Version

Curl One-Line Version (with Auto Download)

Requires python3 installation, automatically parses response and downloads image

Image-to-Image

AI editing and redrawing based on source images, supports up to 10 reference images.

Python Version

Curl Version

Resources

Official Documentation

API Documentation

BytePlus ModelArk official technical documentation

User Manual

Seedream 4.0 User Manual

User Guide

Seedream 4.0 User Guide

Prompting Tips

Prompting and style keyword guide

Common Questions

Dimensions and Resolution Supports custom image dimensions via size parameter:
  • 2K: 2048 pixels (recommended)
  • Also supports custom resolutions
See official documentation for parameter details. Reference Image Count
  • Text-to-Image: No reference images needed
  • Image-to-Image: Supports 1-10 reference images
  • Pass via image parameter as URL or Base64
Watermark Settings Control via watermark parameter:
  • false: No watermark (recommended)
  • true: With watermark
Response Format Supports two response formats (response_format):
  • url: Returns image link (recommended, convenient for download)
  • b64_json: Returns Base64 encoding
Generation Mode Control via sequential_image_generation parameter:
  • disabled: Standard generation mode (recommended)
  • enabled: Sequential generation mode

API Parameter Reference

Request Parameters

Response Format

Next Steps

Nano Banana Image Generation

$0.025/image Gemini image generation

FLUX Image Generation

Check out FLUX image generation API

API Console

Create API token

Recharge Bonus

Top up $100, get +15% bonus