OpenRouterText to imageComing soon
recraft/recraft-v4.1-vector
recraft/recraft-v4.1-vector is a text to image tool from OpenRouter 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.
Price pendingPricing
Price pending.
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 | — | Text description of the desired image |
n | number (whole) 1 to 6 | — | Upper bound on the number of images to generate (1-10). Providers may return fewer images, and providers that only support single-image generation reject n > 1. |
aspect_ratio | one of 1:1, 4:3, 3:4, 16:9, 9:16, auto | — | Normalized aspect ratio of the generated image. Providers clamp to their supported subset. |
output_format | one of svg | — | Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in `b64_json`. |
input_references | number (whole) 0 to 1 | — | Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs. |
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": "openrouter",
"model": "recraft/recraft-v4.1-vector",
"input": {
"prompt": "a red panda astronaut floating in space, studio lighting"
}
}'