You're looking at a specific version of this model. Jump to the model overview.

recraft-ai /recraft-v4-styles-pro-svg:29014fc1

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for image generation (up to 10,000 characters)
aspect_ratio
None
Not set
Aspect ratio of the generated image
size
None
2048x2048
Width and height of the generated image. Size is ignored if an aspect ratio is set.
style_id
string
Reusable Recraft style ID created with the Create style endpoint. Mutually exclusive with style_reference_images.
style_reference_images
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.
style_match
None
precise
How closely the generated image should follow the style.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'},
                'style_id': {'nullable': True,
                             'title': 'Style Id',
                             'type': 'string'}},
 'required': ['image'],
 'title': 'Output',
 'type': 'object'}