text-to-image
Create image from text - Recraft V4 Pro
Generate an image from a text prompt using Recraft V4 Pro.
Key Features:
- The same design and text-rendering strengths as Recraft V4
- Twice the linear dimensions of V4 — four times the pixels
- Eleven fixed aspect ratios, from 1536x2688 to 3072x1536
Best for:
- Print-bound or large-format designs
- Assets that will be cropped or scaled down after generation
Output: one image per request, delivered as a URL in the task's generated array. Exact sizes are listed under aspect_ratio.
Credits: a flat price per image, higher than Recraft V4.
The request is processed asynchronously: the endpoint returns a task id immediately. Retrieve the result by polling the task endpoint or by providing an optional webhook_url.
post/v1/ai/text-to-image/recraft-v4-pro
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/text-to-image/recraft-v4-pro
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "A storefront sign that reads OPEN DAILY 9AM, flat vector poster style",
"aspect_ratio": "square_1_1",
"enhance_prompt": true,
"webhook_url": "https://www.example.com/webhook"
}Response
OK - The request has succeeded and the Recraft V4 Pro process has started.
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.