falText to imageComing soon
fal-ai/wan/v2.2-a14b/text-to-image
fal-ai/wan/v2.2-a14b/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.0325 per image. 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 to guide image generation. |
negative_prompt | text | Negative prompt for video generation. | |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
num_inference_steps | number (whole) 2 to 40 | 27 | Number of inference steps for sampling. Higher values give better quality but take longer. |
enable_prompt_expansion | true or false | false | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. |
acceleration | one of none, regular | regular | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. |
guidance_scale | number 1 to 10 | 3.5 | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
guidance_scale_2 | number 1 to 10 | 4 | Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model. |
shift | number 1 to 10 | 2 | Shift value for the image. Must be between 1.0 and 10.0. |
image_size | JSON | square_hd | The size of the generated image. |
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/v2.2-a14b/text-to-image",
"input": {
"prompt": "In this breathtaking wildlife documentary, we are drawn into an intimate close-up of a majestic lion'\''s face, framed against the backdrop of a vast African…"
}
}'