models

Recraft: Recraft V4 Styles Pro Vector

Markdown · JSON

Recraft: Recraft V4 Styles Pro Vector

Recraft V4 Styles Pro Vector is the Pro SVG edition of Recraft’s style-consistent image family. It creates editable vector graphics from a text brief and a required reference style for detailed brand illustrations, lettering and coordinated graphic assets.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Recraft V4 Styles Pro Vector is the Pro vector model in the dedicated V4 Styles family. Its purpose is to create new SVG artwork whose visual treatment follows a supplied reference style. The model combines a text description of what to draw with references that establish how it should look. Practical work includes brand illustrations, lettering concepts and coordinated graphic assets where texture, rendering, colour logic and composition need a common direction.

The exact producer model code is recraftv4_styles_pro_vector, separate from both the standard Styles Vector model and the raster Styles Pro model. It returns editable SVG. The producer size reference explicitly says vector outputs have no fixed pixel size and accept aspect ratios only, so Styles Pro’s 2K raster dimensions are not a pixel-resolution promise for this Pro Vector edition. The Pro label belongs to the named vector variant; prepare the artwork for its intended geometry and use rather than treating it as an enlarged bitmap.

Every Styles generation needs a style. A compatible saved style or one to ten PNG, JPG or WebP references can provide it; the two inputs are alternatives. References must be under 20 MB each and no more than 64 MB together in the documented workflow. Prefer one clean illustration when its direction is already clear. If several references are needed, select assets with consistent form, palette and rendering so the model generalises that visual language instead of assembling competing motifs. Each reference must have a shortest side of at least 256 pixels, a longest side of no more than 4,096 pixels and a total resolution of no more than 16 megapixels.

Choose precise matching when the reference treatment should guide the output closely, or the default flexible matching when a looser interpretation is useful. The prompt still controls the new subject, arrangement, pose and scene. For detailed editorial vector artwork, request a centred botanical emblem with three large leaves, a compact silhouette and a restrained two-colour system. Name the hierarchy and shape relationships explicitly; a style reference alone does not describe those new content decisions.

The producer supports preferred-colour and background-colour controls, a random seed, prompts up to 10,000 characters and one to six outputs in a generation. Its vector result remains SVG regardless of a raster image_format setting. The dedicated Styles line does not support image-to-image or inpainting, and does not accept the older curated-style, negative_prompt or text_layout mechanisms. Reference matching and editing an existing drawing are therefore different operations rather than interchangeable meanings of image input.

Use clear, high-resolution references; exact colour reproduction is not guaranteed. Keep the intended use visible in the brief: a logo needs legible shapes at small size, while an editorial illustration may allow more detail. Review the SVG’s lettering, spacing, silhouettes and colour regions in the target composition, then refine the text brief when a subject or layout needs to change. Reuse the same compatible style for later assets instead of adding unrelated reference images to force variation.

Through Ailoot, select this exact model ID in /v1/images/generations and supply the creative prompt. Retain every returned data entry, whether the response carries a URL or encoded image content, and save the actual bytes with their returned content type. Keep usage and any media task_id with the asset, then review its shapes, lettering and colour regions in the intended design.

Ailoot Ultra · Images POST /v1/images/generations recraft/recraft-v4-styles-pro-vector

recraft/recraft-v4-styles-pro-vector

Other /recraft/recraft-v4-styles-pro-vector

Overview

Recraft V4 Styles Pro Vector is the Pro SVG edition of Recraft’s style-consistent image family. It creates editable vector graphics from a text brief and a required reference style for detailed brand illustrations, lettering and coordinated graphic assets.

Accepted inputs
Text · Images
Results
Images

Available in Ailoot · inputs & methods

Ailoot Ultra · Images POST /v1/images/generations
Input types
text, image
Output types
image
Output format
Image file
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
recraft/recraft-v4-styles-pro-vector
Conditions: Use this exact Ailoot routing selector.
Default—
FieldpromptTypestringRequirementRequiredValues & limits
Conditions:
Default—
FieldnTypeintegerRequirementOptionalValues & limits
Minimum: 1
Maximum: 6
Conditions:
Default—
Fieldaspect_ratioTypestringRequirementOptionalValues & limits
1:1, 2:1, 1:2, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, auto
Conditions:
Default—
Fieldoutput_formatTypestringRequirementOptionalValues & limits
svg
Conditions:
Default—
Fieldinput_referencesTypearrayRequirementRequiredValues & limits
Conditions:
Default—
FieldqualityTypestringRequirementOptionalValues & limits
auto, low, medium, high, xhigh, max
Conditions:
Default—
Input material combinations

reference_guided_image

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, prompt, input_references
ParameteroptionalContractn, aspect_ratio, output_format, quality
Parametermaterial_typesContracttext, image
ParameterconditionsContractUse this exact Ailoot routing selector., quality is a common documented control; providers without a quality knob ignore it. No per-model quality improvement is promised.

Lifecycle: synchronous_result_then_owned_library

GET /v1/media/tasks/{task_id} · actual returned task_id or selected library record; operation_id is a separate identifier

GET /v1/media/assets

GET /v1/media/assets/{asset_id}

Pricing

How the final charge is calculated

The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode
Not specified When fast mode is selected
Flex mode
Not specified When flex mode is selected
Maximum reasoning effort
Not specified When maximum reasoning effort uses the default adjustment

Estimated rates for comparison

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationRate scheduleForecast quantityBilling unitBilling conditionsCharge
ConfigurationBase token ratesRate scheduleBase rateForecast quantity—Billing unit—Billing conditions—Charge
Input · Input tokens · Estimate for comparison only — / 1K tokens
Output · Output tokens · Estimate for comparison only — / 1K tokens
Input · Cache read · Estimate for comparison only — / 1K tokens
Input · Cache write · Estimate for comparison only — / 1K tokens
Input · Cache write, 1 hour · Estimate for comparison only — / 1K tokens
ConfigurationInput referenceRate schedule—Forecast quantity—Billing unitper requestBilling conditionsStyle creation when generating with style references; once per request, in addition to the output-image price.Charge
Input · Input reference · Estimate for comparison only $0.01 per request

Reference estimate only; final charge follows the recorded original invoice.

Configurationoutput imageRate schedule—Forecast quantity—Billing unitper output imageBilling conditions—Charge
Output · output image · Estimate for comparison only $0.24 per output image
ConfigurationEstimated generation costRate schedule—Forecast quantityone generation estimateBilling unit—Billing conditions—Charge
Output · Estimated generation cost · Estimate for comparison only $0.24 estimate before generation

This estimate is not an additional charge or a fixed rate for the completed generation.

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Example requests

Ailoot Ultra · Images

curl · create once and retain the complete result
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
: "${AILOOT_IMAGE_URL:?Set an actual customer material or documented value}"
export AILOOT_IMAGE_URL
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "recraft/recraft-v4-styles-pro-vector", "prompt": "A portrait of an Asian woman with neon green lights in the background, shallow depth of field.", "input_references": [{"type": "image_url", "image_url": {"url": "YOUR_ACCESSIBLE_IMAGE_URL"}}]}')
p['input_references'][0]['image_url']['url']=os.environ['AILOOT_IMAGE_URL']
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/images/generations \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.

Receive and save results

Ailoot Ultra · Images

Download each returned image or save its Base64 contents

  • GET /v1/media/tasks/{task_id}
  • GET /v1/media/assets
  • GET /v1/media/assets/{asset_id}
Keep all completed results

Save every completed image; retrieve each returned URL or decode its Base64 contents.

Retain the complete response and headers, original identifiers, every actual output and all usage/accounting fields. Save each unique owned asset and retain every role pointing to it.

If the original response needs checking

Keep the original X-Client-Request-ID, response and headers. An unknown or result_pending_check outcome does not authorize a second creation.

Response fields
FieldType
Fielddata[].urlTypestring
Fielddata[].b64_jsonTypestring
FieldusageTypeobject
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionA required field, model selector, type or input representation is invalid.Next stepInspect the returned validation detail before preparing a separate request.
ResponseConditionThe original request or result is unknown or requires a check.Next stepKeep original identifiers and headers; read only supported status/library records. Do not submit creation again.

Aliases

Model aliases

Ailoot Ultra recraft/recraft-v4-styles-pro-vector

Method path aliases

Use the method paths shown above.

Related caller IDs

recraft/recraft-v4-styles-pro-vector

FAQ · Recraft: Recraft V4 Styles Pro Vector
What inputs and results are available?

POST /v1/images/generations · recraft/recraft-v4-styles-pro-vector: text, image → image

Which fields does the request use?

POST /v1/images/generations · recraft/recraft-v4-styles-pro-vector: model, prompt, n, aspect_ratio, output_format, input_references, quality

What limits apply?

POST /v1/images/generations · recraft/recraft-v4-styles-pro-vector: n.minimum: 1; n.maximum: 6

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement