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
recraft/recraft-v4-styles-pro-vectorOverview
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
| Field | Type | Requirement | Values & limits | Default |
|---|---|---|---|---|
Fieldmodel | Typestring | RequirementRequired | Values & limits recraft/recraft-v4-styles-pro-vector Conditions: Use this exact Ailoot routing selector. | Default— |
Fieldprompt | Typestring | RequirementRequired | Values & limits Conditions: | Default— |
Fieldn | Typeinteger | RequirementOptional | Values & limits Minimum: 1 Maximum: 6 Conditions: | Default— |
Fieldaspect_ratio | Typestring | RequirementOptional | Values & 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_format | Typestring | RequirementOptional | Values & limits svg Conditions: | Default— |
Fieldinput_references | Typearray | RequirementRequired | Values & limits Conditions: | Default— |
Fieldquality | Typestring | RequirementOptional | Values & limits auto, low, medium, high, xhigh, max Conditions: | Default— |
Input material combinations
reference_guided_image
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt, input_references |
Parameteroptional | Contractn, aspect_ratio, output_format, quality |
Parametermaterial_types | Contracttext, image |
Parameterconditions | ContractUse 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.
| Configuration | Rate schedule | Forecast quantity | Billing unit | Billing conditions | Charge |
|---|---|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Forecast 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 reference | Rate schedule— | Forecast quantity— | Billing unitper request | Billing 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 image | Rate schedule— | Forecast quantity— | Billing unitper output image | Billing conditions— | Charge Output · output image · Estimate for comparison only $0.24 per output image |
| ConfigurationEstimated generation cost | Rate schedule— | Forecast quantityone generation estimate | Billing 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
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/assetsGET /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
| Field | Type |
|---|---|
Fielddata[].url | Typestring |
Fielddata[].b64_json | Typestring |
Fieldusage | Typeobject |
Errors and next steps
| Response | Condition | Next step |
|---|---|---|
Response400 · invalid_request_error | ConditionA required field, model selector, type or input representation is invalid. | Next stepInspect the returned validation detail before preparing a separate request. |
Response | ConditionThe 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
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