Seedance 2.0 SCONTO 15% | Crea nel Video Generator →

Recraft V4 Text to Vector

recraft-ai /

Recraft V4 generates native SVG vector graphics from text prompts, ideal for logos, icons, and design assets. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

text-to-image
Input
width
height
1024 × 1024 px
Range: 256 - 1536

Inattivo

$0.08per esecuzione·~12 / $1

Successivo:

EsempiVedi tutto

A cute character bear wearing a hoodie and headphones around its neck, 3d flat color, design, street fashion, standing pose

A cute character fox wearing a bomber jacket and sneakers, 3d flat color, design, minimal background, front view

Modelli correlati

README

Recraft V4 Text-to-Vector

Recraft V4 Text-to-Vector generates scalable vector graphics (SVG) from text descriptions. Perfect for logos, icons, illustrations, and design assets that need to scale infinitely without losing quality.

Why Choose This?

  • True vector output Generates scalable SVG files that remain crisp at any size — no pixelation.

  • Design-ready assets Output is immediately usable in design tools like Figma, Illustrator, and Sketch.

  • Flexible aspect ratios Multiple options including 1:1, 16:9, 9:16, 4:3, and 3:4 for various use cases.

  • Flat color styles Ideal for 3D flat color designs, character illustrations, and modern graphic styles.

Parameters

ParameterRequiredDescription
promptYesText description of the desired vector graphic
image_sizeNoAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4 (default: 3:4)

How to Use

  1. Write your prompt — describe the vector graphic, including style and composition.
  2. Choose aspect ratio — select the format that fits your design needs.
  3. Run — submit and download your generated SVG.

Pricing

OutputCost
Per image$0.08

Best Use Cases

  • Logo Design — Generate scalable logo concepts and brand marks.
  • Icon Creation — Create app icons, UI icons, and pictograms.
  • Character Design — Flat color character illustrations for branding and media.
  • Marketing Assets — Scalable graphics for print and digital campaigns.
  • Stickers & Merchandise — Design assets that scale to any size without quality loss.

Pro Tips

  • Use clear, design-focused prompts — specify "flat color", "vector style", or "minimalist" for best results.
  • Vector output works best with simpler compositions and solid color areas.
  • Match aspect ratio to your final use: 1:1 for icons, 3:4 for character designs, 16:9 for banners.
  • Generated SVGs can be further edited in vector design tools.

Notes

  • Prompt is the only required field.
  • Output is scalable vector format (SVG).
  • Best suited for flat color, illustrative styles rather than photorealistic imagery.

Related Models

Accessibilità:Questo sito web utilizza modelli di intelligenza artificiale forniti da terze parti.

Recraft v4 Text To Vector API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-vector with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Recraft v4 Text To Vector below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-vector" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "1024*1024"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("recraft-ai/recraft-v4/text-to-vector", {
        "prompt": "A cinematic shot of a city at sunset, soft golden light",
        "size": "1024*1024"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "recraft-ai/recraft-v4/text-to-vector",
    {
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "1024*1024"
}
)

print(output["outputs"][0])  # → URL of the generated output

Recraft v4 Text To Vector API — Frequently asked questions

What is the Recraft v4 Text To Vector API?

Recraft v4 Text To Vector is a Recraft model for image generation, exposed as a REST API on WaveSpeedAI. Recraft V4 generates native SVG vector graphics from text prompts, ideal for logos, icons, and design assets. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Recraft v4 Text To Vector API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4-text-to-vector.

How much does Recraft v4 Text To Vector cost per run?

Recraft v4 Text To Vector starts at $0.080 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Recraft v4 Text To Vector accept?

Key inputs: `prompt`, `size`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4-text-to-vector.

How do I get started with the Recraft v4 Text To Vector API?

Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.

Can I use Recraft v4 Text To Vector outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (Recraft). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.