Seedance 2.0 15% OFF | Create in Video Generator →

Recraft V4.1 Text to Image

recraft-ai /

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.

text-to-image
Input

Idle

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

$0.04per run·~25 / $1

Next:

ExamplesView all

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

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

Related Models

README

Recraft V4.1 Text-to-Image

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.

Why Choose This?

  • 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.

Parameters

ParameterRequiredDescription
promptYesText prompt describing the image you want to generate.
image_sizeNoOutput image size preset. Default: square_hd.

How to Use

  1. Write your prompt — describe the subject, style, composition, lighting, and mood you want.
  2. Choose image size (optional) — select the preset that best fits your intended output format.
  3. Submit — run the model and download the generated image.

Example Prompt

A clean modern product shot of wireless headphones on a soft pastel background, studio lighting, subtle shadows, premium commercial photography style

Output

Returns one raster image URL in the standard WaveSpeed prediction response.

Pricing

Recraft official API pricing is a flat rate per image.

OutputCost
Per image$0.04

Billing Rules

  • Each generated image costs $0.04
  • Pricing is fixed per image
  • image_size does not affect pricing

Best Use Cases

  • Concept art — Explore visual ideas and art directions quickly.
  • Marketing visuals — Create ads, banners, and campaign imagery from prompts.
  • Product imagery — Generate commercial-style product visuals for presentations and ideation.
  • Social media content — Produce polished images for posts and promotional content.
  • Creative production — Build raster assets for design, publishing, and branding workflows.

Pro Tips

  • Be specific in your prompt about subject, style, lighting, and composition.
  • Use concise but descriptive prompts for more controllable outputs.
  • Start with the default size preset unless you need a specific layout.
  • Include style cues such as editorial, photorealistic, minimal, cinematic, or illustration when needed.

Notes

  • prompt is required.
  • image_size defaults to square_hd.
  • The model returns a single raster image per request.
  • Pricing is fixed at $0.04 per image.
Accessibility:This website uses AI models provided by third parties.

Recraft v4.1 Text To Image API — Quick start

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.

HTTP example
# 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].
Node.js example
// 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
Python example
# 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 output

Recraft v4.1 Text To Image API — Frequently asked questions

What is the Recraft v4.1 Text To Image API?

Recraft 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.

How do I call the Recraft v4.1 Text To Image API?

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.

How much does Recraft v4.1 Text To Image cost per run?

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.

What inputs does Recraft v4.1 Text To Image accept?

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.

How do I get started with the Recraft v4.1 Text To Image API?

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.

Can I use Recraft v4.1 Text To Image outputs commercially?

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.