Pricing
Compare models →| Output | Cost |
|---|---|
| Per image | $0.08 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text description of the vector image to generate (max 10,000 characters). |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
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
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired vector graphic |
| image_size | No | Aspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4 (default: 3:4) |
How to Use
- Write your prompt — describe the vector graphic, including style and composition.
- Choose aspect ratio — select the format that fits your design needs.
- Run — submit and download your generated SVG.
Pricing
| Output | Cost |
|---|---|
| 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
- Recraft V4 Pro Text-to-Vector — Pro tier with enhanced quality.
- Recraft V4 Text-to-Image — Generate raster images from text.
- Recraft V4 Pro Text-to-Image — Pro tier image generation.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Recraft V4 Text to Vector Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/recraft-ai/recraft-v4/text-to-vector for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"size": "1024*1024"
}Recraft V4 Text to Vector Text-to-Image 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 OpenSIAI. 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 OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/recraft-ai/recraft-v4/text-to-vector.
How much does Recraft v4 Text To Vector cost per run or per second?
Recraft v4 Text To Vector starts at $0.08 per run or per second. 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 /docs/docs-api/recraft-ai/recraft-v4/text-to-vector.
How long does Recraft v4 Text To Vector take to generate?
Reported generation time on OpenSIAI is around 11 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Recraft v4 Text To Vector outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Recraft). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
