Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Recraft V4.1 Pro Text to Image creates one image per request from a text prompt. According to Recraft, the Pro models “deliver higher resolution and finer detail, making them perfect model choices for large print-ready visuals”. Use it for posters, packaging and other large-format work. Recraft V4.1 is Recraft’s image model family, released on May 14, 2026. Vidgo exposes five model IDs with the same input fields: V4.1 Flash Text to Image, V4.1 Text to Image, V4.1 Pro Text to Image, V4.1 Text to Vector and V4.1 Pro Text to Vector.

Models

  • recraft/v4.1-pro/text-to-image — Text-to-image with Recraft V4.1 Pro, one high-resolution image per request.

Features

  • Text-to-image from prompts up to 10,000 characters.
  • Higher resolution and finer detail for large, print-ready visuals.
  • Five aspect ratios: 1:1, 4:3, 3:4, 16:9, 9:16.
  • A preferred color palette of up to 10 RGB colors, plus a preferred background color.
  • One image per request at a flat per-request rate.

Required parameters

  • prompt (string): Description of the image. 1–10,000 characters, with at least one non-whitespace character.

Optional parameters

  • size (string): Aspect ratio: 1:1, 4:3, 3:4, 16:9 or 9:16. Default 1:1.
  • colors (object[]): Preferred color palette, up to 10 colors. Each color is an object such as {"r": 18, "g": 52, "b": 86} with integers from 0 to 255.
  • background_color (object): Preferred background color as one RGB object with integer r, g and b from 0 to 255.

Output

The finished task returns one image in the files array of Query Task Status and the callback payload.

Examples

  • Detailed poster: a desert observatory at night, 16:9.
  • Packaging art with palette and callback: a 3:4 tea tin label with three colors, a background_color and a callback_url.

Notes

  • Each request returns exactly one image. input accepts the fields listed above; other fields return 400. Put model and callback_url at the request root, next to input.
  • Each RGB object uses exactly the keys r, g and b, each an integer from 0 to 255. Other color values, or more than 10 entries in colors, return 400.
  • Each request is billed at a flat rate for this model ID; size, colors and background_color keep the price the same. Credits are reserved at submission, and a failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"recraft/v4.1-pro/text-to-image"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required