Recraft Ai Recraft V4.1 Text To Image
Playground
Try it 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.
Features
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_sizepresets for predictable output dimensions. -
Production-ready generation Suitable for creative design, advertising, branding, and content production workflows.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image you want to generate. |
| image_size | No | Output image size preset. Default: square_hd. |
How to Use
- Write your prompt — describe the subject, style, composition, lighting, and mood you want.
- Choose image size (optional) — select the preset that best fits your intended output format.
- 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.
| Output | Cost |
|---|---|
| Per image | $0.04 |
Billing Rules
- Each generated image costs $0.04
- Pricing is fixed per image
image_sizedoes 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
promptis required.image_sizedefaults tosquare_hd.- The model returns a single raster image per request.
- Pricing is fixed at $0.04 per image.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"image_size": "1:1"
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Text prompt for the generated image. | |
| image_size | string | No | 1:1 | 1:1, 16:9, 9:16, 4:3, 3:4 | Output image size preset. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |