Recraft V4.1 Text to Image is a fast AI image generation model that creates high-quality raster images from text prompts. Ready-to-use REST inference API for creative design, marketing visuals, product mockups, brand assets, social media content, concept art, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing.
Idle

$0.04per run·~25 / $1

A cinematic winter night scene of an adult walking alone down a quiet snowy street, dark coat, falling snow, soft street lamps, long footprints behind them, melancholic but hopeful mood, realistic film photography
Recraft V4.1 Text-to-Image generates high-quality raster images from natural-language prompts. It is designed for fast, polished image creation workflows such as concept art, marketing visuals, product imagery, social content, and general creative ideation.
High-quality image generation Create polished raster images from text prompts with strong visual fidelity.
Simple prompt-based workflow Turn natural-language descriptions into finished images with minimal setup.
Preset image sizing
Use image_size presets for predictable output dimensions.
Production-ready generation Suitable for creative design, advertising, branding, and content production workflows.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image you want to generate. |
| image_size | No | Output image size preset. Default: square_hd. |
A clean modern product shot of wireless headphones on a soft pastel background, studio lighting, subtle shadows, premium commercial photography style
Returns one raster image URL in the standard WaveSpeed prediction response.
Recraft official API pricing is a flat rate per image.
| Output | Cost |
|---|---|
| Per image | $0.04 |
image_size does not affect pricingprompt is required.image_size defaults to square_hd.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Recraft v4.1 Text To Image below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("recraft-ai/recraft-v4.1/text-to-image", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"recraft-ai/recraft-v4.1/text-to-image",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
}
)
print(output["outputs"][0]) # → URL of the generated outputRecraft v4.1 Text To Image is a Recraft model for image generation, exposed as a REST API on WaveSpeedAI. Recraft V4.1 Text to Image is a fast AI image generation model that creates high-quality raster images from text prompts. Ready-to-use REST inference API for creative design, marketing visuals, product mockups, brand assets, social media content, concept art, and professional text-to-image workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4.1-text-to-image.
Recraft v4.1 Text To Image starts at $0.040 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `image_size`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4.1-text-to-image.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Recraft). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.