Volver al catálogo

Recraft

recraft

Generate, transform, upscale, vectorize, and manage image styles with Recraft's native API.

Acciones
22
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (22)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Custom StyleRECRAFT_CREATE_STYLEAcción

Create a private reusable style in the connected Recraft account from one to ten bounded reference images, existing V2/V3 styles, or both. The paid request is sent once and is not automatically retried.

Parámetros de entrada

  • matchstringenum

    Optional style matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.

    regularpreciseflexible
  • modelstringenum

    Optional canonical Recraft model for the style. Omit it to use recraftv4_styles. Flash and external models are not accepted.

    recraftv2recraftv2_rasterrecraftv2_vectorrecraftv3recraftv3_rasterrecraftv3_vectorrecraftv4recraftv4_rasterrecraftv4_vectorrecraftv4_prorecraftv4_pro_rasterrecraftv4_pro_vector+18
  • stylestringenum

    Optional base image style compatible with the model.

    anydigital_illustrationiconrealistic_imagevector_illustrationlogo_raster
  • imagesarray

    One to ten PNG, JPEG, or WebP references as protected Composio file uploads, public HTTP(S) URLs, or Base64 image data URLs. Local content must be under 20 MB per image and at most 64 MB in total.

  • promptstring

    Optional prompt associated with the style; V2/V3 allow up to 1,000 characters and V4/V4.1 up to 10,000.

  • paletteobject

    Optional color palette stored with the style.

  • mix_policystringenum

    Optional V2/V3 policy for mixing image and existing-style sources.

    PaletteMatchMaxWeight
  • image_weightsnumber[]

    Optional per-image weights, one for every reference image.

  • source_stylesstring[]

    Optional existing V2/V3 style UUIDs to mix into the new style.

  • source_style_weightsnumber[]

    Optional per-source-style weights, one for every source style.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Creative Upscale ImageRECRAFT_CREATIVE_UPSCALE_IMAGEAcción

Increase one raster image's resolution while regenerating fine details and faces. Returns one temporary public signed URL. This paid operation is sent once without automatic HTTP retries.

Parámetros de entrada

  • zdrboolean

    Request zero data retention.

  • imageanyObligatorio

    Source PNG, JPEG, or WebP as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • image_formatstringenum

    Output WebP or PNG; omit for lossless WebP.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Crisp Upscale ImageRECRAFT_CRISP_UPSCALE_IMAGEAcción

Increase one raster image's resolution while sharpening it without promising a specific scale factor, then return a public signed URL that normally expires in about 24 hours. This duration is not guaranteed; download durable results promptly. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • imageanyObligatorio

    Source PNG, JPEG, or WebP as a protected Composio file upload, public HTTP(S) URL, or Base64 image data URL. Local content must be under 20 MB, 32-4096 px per side, and no more than 16 megapixels.

  • image_formatstringenum

    Output format. Omit for Recraft's lossless WebP default, or choose PNG.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Custom StyleRECRAFT_DELETE_STYLEAcción

Permanently delete one style by UUID from the connected Recraft account. The destructive request is sent once and is not automatically retried.

Parámetros de entrada

  • style_idstringObligatoriouuid

    UUID of a style in the connected Recraft account to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enhance Image DetailsRECRAFT_ENHANCE_IMAGEAcción

Re-render one raster image with Recraft V4.1 Pro for sharper texture and detail while retaining its composition. Returns one temporary public URL; the paid operation is sent once without automatic HTTP retries.

Parámetros de entrada

  • zdrboolean

    Request zero data retention.

  • imageanyObligatorio

    Source PNG, JPEG, or WebP as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • refinementstringenum

    How much detail may change; moderate is the provider default.

    subtlemoderate
  • image_formatstringenum

    Output WebP or PNG; omit for lossless WebP.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enhance PromptRECRAFT_ENHANCE_PROMPTAcción

Expand a text prompt with visual context, style cues, and composition details. This text-only operation returns an enhanced prompt, not an image. It is a paid 10-unit request sent once without automatic HTTP retries.

Parámetros de entrada

  • promptstringObligatorio

    Text prompt to enrich (1-2,000 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Erase Image RegionRECRAFT_ERASE_IMAGE_REGIONAcción

Erase the pure-white area of a black-and-white mask from one raster or opaque untrusted SVG image. Returns one temporary public URL; the paid operation is sent once without automatic HTTP retries.

Parámetros de entrada

  • zdrboolean

    Request zero data retention.

  • maskanyObligatorio

    Grayscale PNG, JPEG, or WebP mask as a protected upload, public HTTP(S) URL, or Base64 data URL. Local masks must match a local raster source's dimensions and contain only pure black and white pixels.

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • image_formatstringenum

    Raster output WebP or PNG; ignored when the source is SVG.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate ImageRECRAFT_GENERATE_IMAGEAcción

Generate one to six raster or vector images with any documented Recraft model, returning public signed URLs that normally expire in about 24 hours. This duration is not guaranteed; download durable results promptly and treat vector SVG output as untrusted. Use this model-selectable endpoint when output type is chosen dynamically; use Generate Raster Image or Generate Vector Image when the provider must enforce one output type. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • ninteger

    Number of images to generate, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • sizestringenum

    Output aspect ratio w:h, supported by every model, or a documented exact WxH size compatible with the selected raster model. Vector models accept ratios only.

    1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x1280+44
  • modelstringenum

    Optional Recraft generation model. Omit it for recraftv4_1, or recraftv4_styles when style_reference_urls are supplied. External models are not accepted.

    recraftv2recraftv2_rasterrecraftv2_vectorrecraftv3recraftv3_rasterrecraftv3_vectorrecraftv4recraftv4_rasterrecraftv4_vectorrecraftv4_prorecraftv4_pro_rasterrecraftv4_pro_vector+20
  • stylestring

    Optional model-compatible curated style name.

  • promptstringObligatorio

    Text description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.

  • upscalestringenum

    Optional provider generation upscale mode.

    upscale4mpupscale16mp
  • controlsobject

    Optional generation controls.

  • style_idstringuuid

    Optional compatible custom style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstringenum

    Style matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.

    regularpreciseflexible
  • text_layoutobject[]

    V3-only words and four-point placement polygons.

  • image_formatstringenum

    Raster output format; vector output is always SVG.

    webppng
  • negative_promptstring

    V2/V3-only description of undesired content.

  • style_reference_urlsarray

    One to ten PNG, JPEG, or WebP style references as protected Composio uploads, public HTTP(S) URLs, or Base64 image data URLs. Local content must be under 20 MB per image and at most 64 MB in total.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Image BackgroundRECRAFT_GENERATE_IMAGE_BACKGROUNDAcción

Generate a new background in the pure-white area of a mask while preserving black areas. Produces one to six V3 raster or untrusted V3 SVG results in one paid, non-retried request.

Parámetros de entrada

  • ninteger

    Number of images to create, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • maskanyObligatorio

    Grayscale PNG, JPEG, or WebP mask as a protected upload, public HTTP(S) URL, or Base64 data URL. Local masks must match a local raster source's dimensions and contain only pure black and white pixels.

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelstringenum

    V3 raster or V3 vector; these are the only models this operation supports.

    recraftv3recraftv3_vector
  • stylestring

    Optional V3 curated style name.

  • promptstringObligatorio

    Description of the new content.

  • controlsobject

    Optional V3 color, background, artistic, and text controls.

  • style_idstringuuid

    Optional custom V3 style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstring

    V3 style matching mode; only regular is supported.

  • text_layoutobject[]

    Optional V3 text elements and their four-point polygons.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng
  • negative_promptstring

    Content the result must not contain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Raster ImageRECRAFT_GENERATE_RASTER_IMAGEAcción

Generate one to six raster images with a documented raster model and return public signed URLs through Recraft's raster-only endpoint, which rejects vector output. Use this when raster output must be provider-enforced. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • ninteger

    Number of images to generate, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • sizestringenum

    Output aspect ratio w:h, supported by every model, or a documented exact WxH size compatible with the selected raster model. Vector models accept ratios only.

    1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x1280+44
  • modelstringenum

    Optional Recraft generation model. Omit it for recraftv4_1, or recraftv4_styles when style_reference_urls are supplied. External models are not accepted.

    recraftv2recraftv2_rasterrecraftv3recraftv3_rasterrecraftv4recraftv4_rasterrecraftv4_prorecraftv4_pro_rasterrecraftv4_1recraftv4_1_rasterrecraftv4_1_prorecraftv4_1_pro_raster+10
  • stylestring

    Optional model-compatible curated style name.

  • promptstringObligatorio

    Text description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.

  • upscalestringenum

    Optional provider generation upscale mode.

    upscale4mpupscale16mp
  • controlsobject

    Optional generation controls.

  • style_idstringuuid

    Optional compatible custom style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstringenum

    Style matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.

    regularpreciseflexible
  • text_layoutobject[]

    V3-only words and four-point placement polygons.

  • image_formatstringenum

    Raster output format; vector output is always SVG.

    webppng
  • negative_promptstring

    V2/V3-only description of undesired content.

  • style_reference_urlsarray

    One to ten PNG, JPEG, or WebP style references as protected Composio uploads, public HTTP(S) URLs, or Base64 image data URLs. Local content must be under 20 MB per image and at most 64 MB in total.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Vector ImageRECRAFT_GENERATE_VECTOR_IMAGEAcción

Generate one to six SVG images with a documented vector model and return public signed URLs through Recraft's vector-only endpoint, which rejects raster output. Use this when SVG output must be provider-enforced. Treat the SVG as untrusted active content. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • ninteger

    Number of images to generate, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • sizestringenum

    Output aspect ratio w:h, supported by every model, or a documented exact WxH size compatible with the selected raster model. Vector models accept ratios only.

    1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x1280+44
  • modelstringenum

    Optional Recraft generation model. Omit it for recraftv4_1, or recraftv4_styles when style_reference_urls are supplied. External models are not accepted.

    recraftv2_vectorrecraftv3_vectorrecraftv4_vectorrecraftv4_pro_vectorrecraftv4_1_vectorrecraftv4_1_pro_vectorrecraftv4_1_utility_vectorrecraftv4_1_utility_pro_vectorrecraftv4_styles_vectorrecraftv4_styles_pro_vector
  • stylestring

    Optional model-compatible curated style name.

  • promptstringObligatorio

    Text description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.

  • upscalestringenum

    Optional provider generation upscale mode.

    upscale4mpupscale16mp
  • controlsobject

    Optional generation controls.

  • style_idstringuuid

    Optional compatible custom style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstringenum

    Style matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.

    regularpreciseflexible
  • text_layoutobject[]

    V3-only words and four-point placement polygons.

  • image_formatstringenum

    Raster output format; vector output is always SVG.

    webppng
  • negative_promptstring

    V2/V3-only description of undesired content.

  • style_reference_urlsarray

    One to ten PNG, JPEG, or WebP style references as protected Composio uploads, public HTTP(S) URLs, or Base64 image data URLs. Local content must be under 20 MB per image and at most 64 MB in total.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Current UserRECRAFT_GET_CURRENT_USERAcción

Get the connected Recraft user's identity and remaining API Units balance. This endpoint is self-only and cannot inspect another user.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Custom StyleRECRAFT_GET_STYLEAcción

Get one connected-account Recraft style by UUID.

Parámetros de entrada

  • style_idstringObligatoriouuid

    UUID of a style accessible to the connected Recraft account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Transform Image From PromptRECRAFT_IMAGE_TO_IMAGEAcción

Create one to six new images from a source image and prompt with controlled similarity. Supports Recraft V3, V4, and V4.1 but not V2, Flash, dedicated Styles, or external models. SVG inputs and outputs are untrusted. This paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • ninteger

    Number of images to create, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelstringenum

    Supported V3, V4, or V4.1 model; V2, Flash, and external models are excluded.

    recraftv3recraftv3_rasterrecraftv3_vectorrecraftv4recraftv4_rasterrecraftv4_vectorrecraftv4_prorecraftv4_pro_rasterrecraftv4_pro_vectorrecraftv4_1recraftv4_1_rasterrecraftv4_1_vector+9
  • stylestring

    Optional V3 curated style name.

  • promptstringObligatorio

    Description of the desired changes.

  • controlsobject

    Generation controls.

  • strengthnumberObligatorio

    How far to move from the source, from 0 to 1.

  • style_idstringuuid

    Optional custom style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstring

    V3 custom-style matching mode; only regular is supported.

  • text_layoutobject[]

    V3-only text layout.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng
  • negative_promptstring

    V3-only undesired content.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Inpaint ImageRECRAFT_INPAINT_IMAGEAcción

Regenerate the pure-white masked area of one image from a prompt, keeping black areas unchanged. Produces one to six V3 raster or untrusted V3 SVG results in one paid, non-retried request.

Parámetros de entrada

  • ninteger

    Number of images to create, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • maskanyObligatorio

    Grayscale PNG, JPEG, or WebP mask as a protected upload, public HTTP(S) URL, or Base64 data URL. Local masks must match a local raster source's dimensions and contain only pure black and white pixels.

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelstringenum

    V3 raster or V3 vector; these are the only models this operation supports.

    recraftv3recraftv3_vector
  • stylestring

    Optional V3 curated style name.

  • promptstringObligatorio

    Description of the new content.

  • controlsobject

    Optional V3 color, background, artistic, and text controls.

  • style_idstringuuid

    Optional custom V3 style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstring

    V3 style matching mode; only regular is supported.

  • text_layoutobject[]

    Optional V3 text elements and their four-point polygons.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng
  • negative_promptstring

    Content the result must not contain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Basic StylesRECRAFT_LIST_BASIC_STYLESAcción

List Recraft's built-in styles and the compatible model for each. The provider returns the complete list without pagination.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Custom StylesRECRAFT_LIST_STYLESAcción

List all custom styles created in the connected Recraft account. The provider returns the complete list without pagination.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Outpaint ImageRECRAFT_OUTPAINT_IMAGEAcción

Extend one image beyond its borders using a prompt and an output size, side expansion, or zoom-out percentage. Produces one to six V3 raster or untrusted V3 SVG results in one paid, non-retried request.

Parámetros de entrada

  • ninteger

    Number of images to create, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • sizestringenum

    Supported V3 output ratio or exact size; cannot accompany expand fields.

    1024x10242048x10241024x20481536x10241024x15361365x10241024x13651280x10241024x12801024x17071434x10241024x1434+16
  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelstringenum

    V3 raster or V3 vector; these are the only models this operation supports.

    recraftv3recraftv3_vector
  • stylestring

    Optional V3 curated style name.

  • promptstringObligatorio

    Description of the new content.

  • controlsobject

    Optional V3 color, background, artistic, and text controls.

  • style_idstringuuid

    Optional custom V3 style identifier.

  • expand_topinteger

    Pixels to add above, from 0 to 4096.

  • expand_leftinteger

    Pixels to add on the left, from 0 to 4096.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstring

    V3 style matching mode; only regular is supported.

  • text_layoutobject[]

    Optional V3 text elements and their four-point polygons.

  • expand_rightinteger

    Pixels to add on the right, from 0 to 4096.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng
  • expand_bottominteger

    Pixels to add below, from 0 to 4096.

  • negative_promptstring

    Content the result must not contain.

  • zoom_out_percentagenumber

    Percentage to scale down the source before extending, from 0 below 100.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Image BackgroundRECRAFT_REMOVE_IMAGE_BACKGROUNDAcción

Remove the background from one raster or SVG image and return a public signed result URL that normally expires in about 24 hours. This duration is not guaranteed; download durable results promptly. SVG remains untrusted. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio file upload, public HTTP(S) URL, or Base64 image data URL. Local raster content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels; local SVG bytes remain unparsed and unrendered.

  • image_formatstringenum

    Raster output format. Omit for Recraft's lossless WebP default. Recraft ignores this setting for SVG output.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Image BackgroundRECRAFT_REPLACE_IMAGE_BACKGROUNDAcción

Detect and redraw one image's background from a prompt. Produces one to six V3 raster or untrusted V3 SVG results in one paid request without automatic HTTP retries.

Parámetros de entrada

  • ninteger

    Number of images to create, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelstringenum

    V3 raster or V3 vector; these are the only models this operation supports.

    recraftv3recraftv3_vector
  • stylestring

    Optional V3 curated style name.

  • promptstringObligatorio

    Description of the new content.

  • controlsobject

    Optional V3 color, background, artistic, and text controls.

  • style_idstringuuid

    Optional custom V3 style identifier.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • style_matchstring

    V3 style matching mode; only regular is supported.

  • text_layoutobject[]

    Optional V3 text elements and their four-point polygons.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng
  • negative_promptstring

    Content the result must not contain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remix ImageRECRAFT_VARIATE_IMAGEAcción

Create one to six prompt-free variations of an image at a required supported aspect ratio or model-compatible exact size. Accepts current Recraft models from the official API, but no external models; SVG content is untrusted. This paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • ninteger

    Number of variations, from 1 to 6.

  • zdrboolean

    Request zero data retention.

  • sizestringObligatorioenum

    Required documented aspect ratio or exact WxH size.

    1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x1280+44
  • imageanyObligatorio

    Source PNG, JPEG, WebP, or opaque untrusted SVG as a protected Composio upload, public HTTP(S) URL, or Base64 data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • modelany

    Optional current Recraft model from the official API; external models are excluded.

  • random_seedinteger

    Optional unsigned 32-bit seed.

  • image_formatstringenum

    Raster output format; ignored for SVG output.

    webppng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Vectorize ImageRECRAFT_VECTORIZE_IMAGEAcción

Convert one PNG, JPEG, or WebP raster image into an editable SVG and return a public signed URL that normally expires in about 24 hours. This duration is not guaranteed; download durable results promptly and treat the SVG as untrusted. The paid operation is sent once and is not automatically retried.

Parámetros de entrada

  • imageanyObligatorio

    Source PNG, JPEG, or WebP as a protected Composio file upload, public HTTP(S) URL, or Base64 image data URL. Local content must be under 20 MB, 256-4096 px per side, and no more than 16 megapixels.

  • shape_stackingstringenum

    How SVG shapes overlap: hierarchical allows stacked shapes; cut_out removes covered portions.

    hierarchicalcut_out

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not