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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The text prompt used to generate the image |
image_size | JSON | {"width":2048,"height":2048} | The size of the generated image. Total pixels must be between 960x960 and 4096x4096. |
num_images | number (whole) 1 to 6 | 1 | Number of separate model generations to be run with the prompt. |
max_images | number (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`. |
seed | number (whole) | — | Random seed to control the stochasticity of image generation. |
enhance_prompt_mode | one 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."
}
}'