Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, a POST request will be sent to it when the task finishes or fails.
  2. You can also retrieve the result through the unified Query Task Status endpoint.

Seedream-5.0-Flash Image Generation

Seedream-5.0-Flash generates images from text or edits images using up to 10 references. Each request produces one image.

Available Models

  • seedream-5.0-flash - Text-to-image generation
  • seedream-5.0-flash-edit - Image editing with 1–10 reference images

Size Parameter

input.size controls the output aspect ratio. If omitted, the system uses 1:1:
  • Ratio preset: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9

Resolution Parameter

input.resolution controls the output resolution. If omitted, the system uses 1K:
  • Resolution preset: 1K, 1.5K, 2K

Pricing

Each request generates one image and uses the current Seedream-5.0-Flash price.

How to Call

Use the unified submit endpoint: POST /api/generate/submit Text-to-image example:
Edit example:

Authorizations

Authorization
string
header
required

All API endpoints require Bearer Token authentication

Body

application/json
model
enum<string>
required

Seedream-5.0-Flash model identifier

Available options:
seedream-5.0-flash,
seedream-5.0-flash-edit
input
object
required

Input parameters for generation or editing

callback_url
string<uri>

Webhook callback URL for result notifications

Example:

"https://your-domain.com/callback"

Response

Task submitted successfully

code
integer
required
Example:

200

data
object
required