falText to imageComing soon

fal-ai/bytedance/seedream/v4/text-to-image

fal-ai/bytedance/seedream/v4/text-to-image is a text to image tool from fal 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. Billed on num_images, default 1. The final charge comes from usage.

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—The text prompt used to generate the image
image_sizeJSON{"width":2048,"height":2048}The size of the generated image. Total pixels must be between 960x960 and 4096x4096.
num_imagesnumber (whole)
1 to 6
1Number of separate model generations to be run with the prompt.
max_imagesnumber (whole)
1 to 6
1If set to a number greater than one, enables multi-image generation. The model will potentially return up to `max_images` images every generation, and in total, `num_images` generations will be carried out. In total, the number of images generated will be between `num_images` and `max_images*num_images`.
seednumber (whole)—Random seed to control the stochasticity of image generation.
enhance_prompt_modeone of
standard, fast
standardThe mode to use for enhancing prompt enhancement. Standard mode provides higher quality results but takes longer to generate. Fast mode provides average quality results but takes less time to generate.

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": "fal",
    "model": "fal-ai/bytedance/seedream/v4/text-to-image",
    "input": {
      "prompt": "A trendy restaurant with a digital menu board displaying \"Seedream 4.0 is available on fal\" in elegant script, with diners enjoying their meals."
    }
  }'