Flux Art — AI made simple, unleash your unlimited creativity
Multi-model AI visual creation and production platform · One account and workspace · Images, video, asset management and OpenAPI
Start Creating →
Flux Art › Blog › Guides › Recraft SVG: Generat…

Recraft SVG: Generate Vectors or Convert a PNG?

Anonymous community contributor (alias): Snow Line Film Published: Category:Guides

Start by asking whether an approved original must be preserved

After preparing visual candidates in Flux Art, you may need an SVG whose individual shapes can be recolored or moved. Adding vector style to a prompt is not enough. First determine whether the task is to create a new image from an idea or convert an approved PNG into editable shapes. Recraft provides its own routes for these tasks, but they are not the same operation, nor are they confirmed here as built-in Flux Art features. Define which outlines, text and colors may change before choosing a route, so that a redesign is not mistakenly delivered as a conversion of the original.

Generate from a text concept; convert an approved raster image

If you only have a text concept and can explore different shapes, native vector generation is an option. If you already have an approved icon and need to preserve its appearance as closely as possible, first assess raster-to-vector conversion rather than describing it in one sentence and generating it again. Official brand marks and files requiring strict geometric precision may still need manual redrawing and checking. Conversion cannot recover authoritative original paths from a tiny input, blurred edges or detail that has already been lost. If the original's status is unknown, locate the source file first; do not automatically promote a converted result to the brand standard.

Explicitly select a vector model for generation

The official Recraft V4.1 API documentation lists vector variants such as recraftv4_1_vector, which output SVG. A standard raster model does not produce a vector file simply because the prompt says flat, line art or vector. Nor does image_format change a vector result into another format. See the model and capability documentation at https://www.recraft.ai/docs/api-reference/models/recraft-v4-1 . Do not copy every parameter from another version; check the documentation for the selected model first. This article uses that distinction only to choose a route and does not provide untested quality rankings or success rates.

Starting conditionRoute to consider firstWhat must be verified
Text concept onlyNative vector generationThe selected vector model and actual output file
An approved PNG existsRaster-to-vector conversionWhether outlines and colors remain faithful to the approved original
An overlapping object must be movedAssess hierarchicalWhether the necessary parts of the lower shape are preserved
Non-overlapping regions are requiredAssess cut_outSeparated edges and actual production requirements
A file was returned but parsing finds nothingCheck the operation and response typeWhether the data array or image object is being read correctly
The recipient needs to edit shapesPerform the edit in the target applicationWhether recoloring, moving, saving and reopening meet the agreed requirements

Shape stacking in conversion affects later edits

Vectorize accepts the raster inputs listed in its documentation, including PNG, JPG and WEBP, and produces SVG. For its shape_stacking parameter, hierarchical preserves the portions of lower shapes hidden by shapes above them, while cut_out creates non-overlapping shapes from the visible regions. This is not a sharpness or quality-level switch. It is a structural choice with different consequences for recoloring, movement and overlap. The fields are documented at https://www.recraft.ai/docs/api-reference/tools/vectorize . Before choosing, specify what the recipient needs to do. Do not apply one option to an entire batch merely because its preview looks appealing.

Use two overlapping color shapes to define the structure you need

Suppose an approved illustration contains a yellow circle partly covered by a blue rectangle. If the recipient needs to move the rectangle away and still see a complete circle, check whether the underlying shape is preserved, not just whether the current preview looks similar. If the task requires non-overlapping visible regions, inspect the separated edges and joins instead. This is a proposed acceptance-test design, not an actual test, and it does not mean that any converted file will necessarily have ideal geometry. For cutting, engraving or other production uses in particular, equipment, material and process constraints still require separate verification.

Do not mix up generation and conversion response fields

For a standard URL response from Recraft's generation endpoint, image addresses are read from the data array. Vectorize instead uses image.url. Parsing both as data[0].url can cause a valid conversion result to be reported as missing a file. Record the actual operation and response structure first, then locate the output. Recraft's own API and Flux Art OpenAPI are not the same service: do not transfer model names, paths or authentication methods directly between them. No paid API call was made for this article. The example fields are for pre-integration checks; an implementation should handle failures and outputs according to the response format of the selected endpoint.

Open the SVG and make a real local edit

Open a delivery copy in the target application, select a shape that the recipient is expected to edit, and actually recolor or move it. Save and reopen the file. Compare the original raster image, the appearance before and after conversion, and the structure after editing. Confirm that a whole embedded raster image is not standing in for an editable object. For general file-structure checks, continue with Related workflow . This page does not repeat the full SVG acceptance process; its point is that choosing the right route does not remove the need to perform the recipient's intended edit.

Keep a record of why this route was chosen

The handoff record should retain the original input, approved scope, generation or conversion route, actual model or parameters, raw response, downloaded file and inspection results from the target application. Save rejected candidates separately without overwriting approved material. If converted paths require manual repairs, record those repairs too, so the next designer can distinguish automatic conversion from manually confirmed work. Track completion costs separately for generation and conversion. Mark steps that have not been performed as pending; one successful API response does not mean the entire file is ready to deliver.

Keep editability and commercial-use evidence separate

Recraft Studio's commercial rights depend on its current plan rules. Assets generated on the free plan should not be assumed to carry commercial permission; check the applicable rules for assets generated on a paid plan. See https://www.recraft.ai/docs/plans-and-billing/commercial-rights-and-ownership . Do not describe this provider-specific rule as a Flux Art restriction, or assume a subscription automatically changes the rights to older assets retroactively. Flux Art is operated by MORNING STAR INDUSTRY LIMITED. It is a multi-model AI visual creation and production platform, and its generated content can be used commercially. Its entry point is https://flux-art.net/en . Verify rights to input material, marks and fonts separately.

Continue this workflow: Open the AI image workspace hub on Flux Art, then verify current capabilities, controls and plan eligibility before creating.

Open the AI image workspace →

Frequently Asked Questions

Q: Does renaming a PNG to SVG make its paths editable?

A: No. Changing the extension does not turn pixels into independent shapes.

Q: Does a vector-style prompt guarantee SVG output?

A: No. Check the actual model variant and output type first.

Q: Should I regenerate an icon that is already approved?

A: Not necessarily. If its approved appearance must be preserved, first assess conversion or manual redrawing to avoid changing its shapes through regeneration.

Q: Are hierarchical and cut_out quality levels?

A: No. They change how shapes overlap or are divided. Choose according to the edits required afterward.

Q: Do both endpoints return images in the data array?

A: No. For standard URL responses, generation uses addresses within data, while Vectorize uses image.url.

Q: Can cut_out output go straight to a cutting machine?

A: That parameter alone is not sufficient for approval. Check the file against the specific equipment, material and process requirements.

Q: Are these Recraft routes Flux Art features?

A: No. This article distinguishes Recraft's own workflows from Flux Art's visual-creation entry point and does not infer an integration.

Q: Can visual candidates created with Flux Art be used commercially?

A: Yes. Check external Recraft assets against their applicable plan rules, and confirm input-material and brand rights separately.