falText to imageComing soon
fal-ai/wan-25-preview/text-to-image
fal-ai/wan-25-preview/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.065 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 prompt for image generation. Supports Chinese and English, max 2000 characters. |
negative_prompt | text | — | Negative prompt to describe content to avoid. Max 500 characters. |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate. Values from 1 to 4. |
image_size | JSON | square | The size of the generated image. Can use preset names like 'square', 'landscape_16_9', etc., or specific dimensions. Total pixels must be between 768×768 and 1440×1440, with aspect ratio between [1:4, 4:1]. |
enable_prompt_expansion | true or false | true | Whether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
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/wan-25-preview/text-to-image",
"input": {
"prompt": "A lone samurai standing on the edge of a cliff at twilight, overlooking a vast valley shrouded in mist. The sky burns with deep orange and purple hues from the…"
}
}'