Recraft: Recraft V4 Pro Vector
Recraft V4 Pro Vector generates editable SVG artwork for detailed compositions, logos and illustration. It is the Pro vector edition of V4, supporting text-to-image generation briefs and separate image-to-image workflows without assigning raster pixel sizes to SVG.
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 Pro Vector is the Pro SVG model in Recraft’s V4 generation. The family focuses on visual judgement, coherent colour relationships, composition and detailed interpretation of a creative brief. The Pro branch is positioned for finer detail and more demanding compositions, while this Vector edition supplies editable SVG artwork. It is useful for a graphic illustration, emblem or lettering concept that needs a vector working file for later design adjustments.
The exact model code is recraftv4_pro_vector. It is distinct from standard V4 Vector, the raster V4 Pro model and the later V4.1 family. The producer size reference states that all vector models accept fourteen aspect ratios as width-to-height ratios and that SVG output has no fixed pixel size. V4 Pro’s 2048 × 2048 raster dimensions are therefore not a pixel-resolution limit for this edition. Choose the intended composition and shape of the asset rather than a raster-size label.
The manufacturer’s V4 guidance emphasises flat graphic logic for vector and logo work. Describe the graphic type, geometry, silhouette, line discipline, palette and layout. For a harbour emblem, request a detailed graphic with a compact lighthouse silhouette, a large wave shape, generous internal gaps and two flat colours. Specify which element should dominate and which details should remain secondary. Structural description is more useful for an editable vector result than photographic texture or material language when the design should remain flat.
The current exact generation reference supports prompts up to 10,000 characters, one to six outputs, a random seed and preferred-colour or background-colour controls. Optional compatible custom styles and reference images can establish a repeated visual treatment. Flexible matching allows a looser reading and precise matching follows the style more closely. Use visually consistent references and keep the intended colour system explicit; exact reference colours are not guaranteed. For reference-style generation, use one to ten PNG, JPG or WebP images, no more than 64 MB in total and under 20 MB each. Each reference needs a shortest side of at least 256 pixels, a longest side of no more than 4,096 pixels and a resolution of no more than 16 megapixels. Use either these references or a compatible saved style, rather than both.
Recraft documents image-to-image for V4 raster and vector models. Supply an existing image and describe the desired change, with strength from 0 to 1 determining how far the generated result moves from the source. A vector model returns SVG. This operation does not accept V4 style controls, so it differs from creating a new graphic with a style reference. Its image-input requirements allow PNG, JPG, WebP or SVG under 20 MB, up to 16 MP, with sides between 256 and 4096 pixels.
V4 does not support the V3 controls negative_prompt, curated style names, text_layout, artistic_level or no_text. Its manufacturer guidance describes readable short and medium-length phrases when hierarchy is specified, but exact typography still needs inspection in the finished SVG. Check the silhouette, lettering, colour regions and fine details at the intended size, then reshape or recolour the asset as the design requires. This is a detailed vector-generation edition, with its own output and controls rather than the raster Pro model’s properties.
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-pro-vector
recraft/recraft-v4-pro-vectorOverview
Recraft V4 Pro Vector generates editable SVG artwork for detailed compositions, logos and illustration. It is the Pro vector edition of V4, supporting text-to-image generation briefs and separate image-to-image workflows without assigning raster pixel sizes to SVG.
- 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-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, 4:3, 3:4, 16:9, 9:16, auto Conditions: | Default— |
Fieldoutput_format | Typestring | RequirementOptional | Values & limits svg Conditions: | Default— |
Fieldinput_references | Typearray | RequirementOptional | Values & limits Conditions: | Default— |
Fieldquality | Typestring | RequirementOptional | Values & limits auto, low, medium, high, xhigh, max Conditions: | Default— |
Input material combinations
Text to image
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt |
Parameteroptional | Contractn, aspect_ratio, output_format, input_references, 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 | Charge |
|---|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Forecast quantity— | Billing unit— | 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 |
| Configurationoutput image | Rate schedule— | Forecast quantity— | Billing unitper output image | Charge Output · output image · Estimate for comparison only $0.6 per output image |
| ConfigurationEstimated generation cost | Rate schedule— | Forecast quantityone generation estimate | Billing unit— | Charge Output · Estimated generation cost · Estimate for comparison only $0.6 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
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "recraft/recraft-v4-pro-vector", "prompt": "A portrait of an Asian woman with neon green lights in the background, shallow depth of field."}')
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-pro-vector
Method path aliases
Use the method paths shown above.
Related caller IDs
FAQ · Recraft: Recraft V4 Pro Vector
- What inputs and results are available?
POST /v1/images/generations·recraft/recraft-v4-pro-vector:text,image→image- Which fields does the request use?
POST /v1/images/generations·recraft/recraft-v4-pro-vector:model,prompt,n,aspect_ratio,output_format,input_references,quality- What limits apply?
POST /v1/images/generations·recraft/recraft-v4-pro-vector:n.minimum:1;n.maximum:6