AI Generation

Seedream 4API

Seedream 4.0 is a next-generation, high-performance multimodal AI image model by ByteDance that unifies image generation and editing within a single, fast architecture. It supports text-to-image, image-to-image, and multi-image reference, delivering up to 4K resolution with high consistency and precision for creative and professional applications

Test in Dashboard View Docs ← All Tools

Three ways to use this tool

REST API

One POST request. Get the result back directly — as an image, video, or JSON depending on the tool.

terminal
curl -X POST https://apiai.me/api/workflow/seedream-4 \
     -H "X-API-Key: YOUR_API_KEY" \
     -F "image=@input.jpg" \
     -F "aspect_ratio=match_input_image" \
     -F "enhance_prompt=true" \
     -F "height=2048" \
     -F "max_images=1" \
     -F "prompt=VALUE" \
     -F "sequential_image_generation=disabled" \
     -F "size=2K" \
     -F "width=2048"
     --output result.png

Dashboard Playground

Test this tool visually before writing any code. Upload an image, set parameters, and see the result live. When it looks right, copy the auto-generated curl command and paste it into your app.

  1. Open the dashboard → API Toolbox
  2. Find Seedream 4 and click it
  3. Upload your input and adjust parameters
  4. Copy the curl command and ship
Open Dashboard →

Batch Processing

Process hundreds of images at once without writing a loop. Upload a CSV with one row per item, set your parameters, and download the results as a ZIP when they're done.

  1. Open the dashboard → Batches
  2. Select Seedream 4
  3. Add your content and start the batch
  4. Download results ZIP when complete
Go to Batches →

Parameters

Name Required Description Default / Options
aspect_ratio optional Output Aspect Ratio match_input_image1:14:33:416:99:163:22:321:9
enhance_prompt optional Enable prompt enhancement for higher quality results, this will take longer to generate. true
height optional Custom image height (only used when size='custom'). Range: 1024-4096 pixels. 2048
max_images optional Maximum number of images to generate when sequential_image_generation='auto'. Range: 1-15. Total images (input + generated) cannot exceed 15. 1234
prompt required Text prompt for image generation
sequential_image_generation optional Group image generation mode. 'disabled' generates a single image. 'auto' lets the model decide whether to generate multiple related images (e.g., story scenes, character variations). disabledauto
size optional Image resolution: 1K (1024px), 2K (2048px), 4K (4096px), or 'custom' for specific dimensions. 1K2K4Kcustom
width optional Custom image width (only used when size='custom'). Range: 1024-4096 pixels. 2048

Ready to integrate?

Get an API key, test Seedream 4 in the dashboard, and copy the curl command.

Get API Key Full API Reference