## Basic model info

Model name: recraft-ai/recraft-v4-styles-svg
Model description: Recraft V4 Styles SVG generates editable vector images that match a reusable style or attached reference images.


## Model inputs

- prompt (required): Text prompt for image generation (up to 10,000 characters) (string)
- aspect_ratio (optional): Aspect ratio of the generated image (string)
- size (optional): Width and height of the generated image. Size is ignored if an aspect ratio is set. (string)
- style_id (optional): Reusable Recraft style ID created with the Create style endpoint. Mutually exclusive with style_reference_images. (string)
- style_reference_images (optional): PNG, JPG, or WEBP reference images used to create a private style for this generation. Supports 1-10 images. Mutually exclusive with style_id. (array)
- style_match (optional): How closely the generated image should follow the style. (string)


## Model output schema

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

If the input or output schema includes a format of URI, it is referring to a file.
