← All models
Generate high-quality editable SVGs with Recraft V4 Styles Pro SVG. Use a reusable style ID or attached references for consistent vector assets.
images
Details
- Accepts
- text
Pricing
- Price
- 7.5 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| size | —enum: 2048x2048, 3072x1536, 1536x3072, 2560x1664, 1664x2560, 2432x1792… | Width and height of the generated image. Size is ignored if an aspect ratio is set. |
| promptrequired | string | Text prompt for image generation (up to 10,000 characters) |
| style_id | string | Reusable Recraft style ID created with the Create style endpoint. Mutually exclusive with style_reference_images. |
| style_match | —enum: precise, flexible | How closely the generated image should follow the style. |
| aspect_ratio | —enum: Not set, 1:1, 4:3, 3:4, 3:2, 2:3… | Aspect ratio of the generated image |
| style_reference_imagesrequired | array | PNG, JPG, or WEBP reference images used to create a private style for this generation. Supports 1-10 images. Mutually exclusive with style_id. |
Output
| Field | Type | Description |
|---|---|---|
| image | string | |
| style_id | string |