falImageComing soon

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

fal-ai/bytedance/seedream/v4/text-to-image is an 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.

Pricing

Coming soon

$0.039 per image. Billed on num_images, default 1.

Limits

Runs
In the background
Returns
image
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
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
1

Number of separate model generations to be run with the prompt.

max_imagesnumber (whole)
1 to 6
1

If 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
standard

The 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."
    }
  }'