Skip to content
Docs menu

Image models

Seedream

On this page

Seedream — fast, high-fidelity AI image generation & editing.

modelIdbytedance-seedream
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to imagePOST /api/v1/generateBase generation from a text prompt.
Poll taskGET /api/v1/task/{id}?model=bytedance-seedreamRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredEnter your text prompt to generate an image...
image_sizeselectoptionalsquare, square_hd, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
guidance_scalenumberoptional
seednumberoptionalEnter number...
enable_safety_checkerselectoptionalfalse, true
nsfw_checkerselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"bytedance-seedream","input":{"prompt":"A weathered brass diving helmet resting on wet cobblestones at dawn, tendrils of sea mist curling around it, warm amber light breaking through the fog, shallow depth of field, cinematic still, ultra-detailed.","image_size":"square_hd","guidance_scale":2.5,"seed":8,"enable_safety_checker":"true","nsfw_checker":"true"}}'