ReplicateImage to imageComing soon

bytedance/seedream-4

bytedance/seedream-4 is an image to image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.039 per image.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—Text prompt for image generation
sizeJSON2KImage resolution: 1K (1024px), 2K (2048px), 4K (4096px), or 'custom' for specific dimensions.
widthnumber (whole)
1024 to 4096
2048Custom image width (only used when size='custom'). Range: 1024-4096 pixels.
heightnumber (whole)
1024 to 4096
2048Custom image height (only used when size='custom'). Range: 1024-4096 pixels.
max_imagesnumber (whole)
1 to 15
1Maximum number of images to generate when sequential_image_generation='auto'. Range: 1-15. Total images (input + generated) cannot exceed 15.
image_inputlist[]Input image(s) for image-to-image generation. List of 1-10 images for single or multi-reference generation.
aspect_ratioJSONmatch_input_imageImage aspect ratio. Only used when size is not 'custom'. Use 'match_input_image' to automatically match the input image's aspect ratio.
enhance_prompttrue or falsetrueEnable prompt enhancement for higher quality results, this will take longer to generate.
sequential_image_generationJSONdisabledGroup 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).

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "bytedance/seedream-4",
    "input": {
      "prompt": "<prompt>"
    }
  }'