Recraft
recraftGenerate, transform, upscale, vectorize, and manage image styles with Recraft's native API.
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ónCreate 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.
RECRAFT_CREATE_STYLEAcciónCreate 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
matchstringenumOptional style matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.
regularpreciseflexiblemodelstringenumOptional 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+18stylestringenumOptional base image style compatible with the model.
anydigital_illustrationiconrealistic_imagevector_illustrationlogo_rasterimagesarrayOne 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.
promptstringOptional prompt associated with the style; V2/V3 allow up to 1,000 characters and V4/V4.1 up to 10,000.
paletteobjectOptional color palette stored with the style.
mix_policystringenumOptional V2/V3 policy for mixing image and existing-style sources.
PaletteMatchMaxWeightimage_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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Creative Upscale ImageRECRAFT_CREATIVE_UPSCALE_IMAGEAcciónIncrease 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.
RECRAFT_CREATIVE_UPSCALE_IMAGEAcciónIncrease 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
zdrbooleanRequest zero data retention.
imageanyObligatorioSource 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_formatstringenumOutput WebP or PNG; omit for lossless WebP.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Crisp Upscale ImageRECRAFT_CRISP_UPSCALE_IMAGEAcciónIncrease 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.
RECRAFT_CRISP_UPSCALE_IMAGEAcciónIncrease 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
imageanyObligatorioSource 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_formatstringenumOutput format. Omit for Recraft's lossless WebP default, or choose PNG.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Custom StyleRECRAFT_DELETE_STYLEAcciónPermanently delete one style by UUID from the connected Recraft account. The destructive request is sent once and is not automatically retried.
RECRAFT_DELETE_STYLEAcciónPermanently 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_idstringObligatoriouuidUUID of a style in the connected Recraft account to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enhance Image DetailsRECRAFT_ENHANCE_IMAGEAcciónRe-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.
RECRAFT_ENHANCE_IMAGEAcciónRe-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
zdrbooleanRequest zero data retention.
imageanyObligatorioSource 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.
refinementstringenumHow much detail may change; moderate is the provider default.
subtlemoderateimage_formatstringenumOutput WebP or PNG; omit for lossless WebP.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enhance PromptRECRAFT_ENHANCE_PROMPTAcciónExpand 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.
RECRAFT_ENHANCE_PROMPTAcciónExpand 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
promptstringObligatorioText prompt to enrich (1-2,000 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Erase Image RegionRECRAFT_ERASE_IMAGE_REGIONAcciónErase 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.
RECRAFT_ERASE_IMAGE_REGIONAcciónErase 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
zdrbooleanRequest zero data retention.
maskanyObligatorioGrayscale 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.
imageanyObligatorioSource 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_formatstringenumRaster output WebP or PNG; ignored when the source is SVG.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate ImageRECRAFT_GENERATE_IMAGEAcciónGenerate 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.
RECRAFT_GENERATE_IMAGEAcciónGenerate 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
nintegerNumber of images to generate, from 1 to 6.
zdrbooleanRequest zero data retention.
sizestringenumOutput 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+44modelstringenumOptional 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+20stylestringOptional model-compatible curated style name.
promptstringObligatorioText description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.
upscalestringenumOptional provider generation upscale mode.
upscale4mpupscale16mpcontrolsobjectOptional generation controls.
style_idstringuuidOptional compatible custom style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringenumStyle matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.
regularpreciseflexibletext_layoutobject[]V3-only words and four-point placement polygons.
image_formatstringenumRaster output format; vector output is always SVG.
webppngnegative_promptstringV2/V3-only description of undesired content.
style_reference_urlsarrayOne 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Image BackgroundRECRAFT_GENERATE_IMAGE_BACKGROUNDAcciónGenerate 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.
RECRAFT_GENERATE_IMAGE_BACKGROUNDAcciónGenerate 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
nintegerNumber of images to create, from 1 to 6.
zdrbooleanRequest zero data retention.
maskanyObligatorioGrayscale 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.
imageanyObligatorioSource 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.
modelstringenumV3 raster or V3 vector; these are the only models this operation supports.
recraftv3recraftv3_vectorstylestringOptional V3 curated style name.
promptstringObligatorioDescription of the new content.
controlsobjectOptional V3 color, background, artistic, and text controls.
style_idstringuuidOptional custom V3 style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringV3 style matching mode; only regular is supported.
text_layoutobject[]Optional V3 text elements and their four-point polygons.
image_formatstringenumRaster output format; ignored for SVG output.
webppngnegative_promptstringContent the result must not contain.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Raster ImageRECRAFT_GENERATE_RASTER_IMAGEAcciónGenerate 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.
RECRAFT_GENERATE_RASTER_IMAGEAcciónGenerate 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
nintegerNumber of images to generate, from 1 to 6.
zdrbooleanRequest zero data retention.
sizestringenumOutput 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+44modelstringenumOptional 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+10stylestringOptional model-compatible curated style name.
promptstringObligatorioText description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.
upscalestringenumOptional provider generation upscale mode.
upscale4mpupscale16mpcontrolsobjectOptional generation controls.
style_idstringuuidOptional compatible custom style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringenumStyle matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.
regularpreciseflexibletext_layoutobject[]V3-only words and four-point placement polygons.
image_formatstringenumRaster output format; vector output is always SVG.
webppngnegative_promptstringV2/V3-only description of undesired content.
style_reference_urlsarrayOne 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Vector ImageRECRAFT_GENERATE_VECTOR_IMAGEAcciónGenerate 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.
RECRAFT_GENERATE_VECTOR_IMAGEAcciónGenerate 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
nintegerNumber of images to generate, from 1 to 6.
zdrbooleanRequest zero data retention.
sizestringenumOutput 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+44modelstringenumOptional 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_vectorstylestringOptional model-compatible curated style name.
promptstringObligatorioText description of the desired images; V2/V3 allow up to 1,000 characters and newer models up to 10,000.
upscalestringenumOptional provider generation upscale mode.
upscale4mpupscale16mpcontrolsobjectOptional generation controls.
style_idstringuuidOptional compatible custom style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringenumStyle matching mode: regular for V2/V3, or flexible/precise for V4/V4.1.
regularpreciseflexibletext_layoutobject[]V3-only words and four-point placement polygons.
image_formatstringenumRaster output format; vector output is always SVG.
webppngnegative_promptstringV2/V3-only description of undesired content.
style_reference_urlsarrayOne 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current UserRECRAFT_GET_CURRENT_USERAcciónGet the connected Recraft user's identity and remaining API Units balance. This endpoint is self-only and cannot inspect another user.
RECRAFT_GET_CURRENT_USERAcciónGet 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Custom StyleRECRAFT_GET_STYLEAcciónGet one connected-account Recraft style by UUID.
RECRAFT_GET_STYLEAcciónGet one connected-account Recraft style by UUID.
Parámetros de entrada
style_idstringObligatoriouuidUUID of a style accessible to the connected Recraft account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transform Image From PromptRECRAFT_IMAGE_TO_IMAGEAcciónCreate 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.
RECRAFT_IMAGE_TO_IMAGEAcciónCreate 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
nintegerNumber of images to create, from 1 to 6.
zdrbooleanRequest zero data retention.
imageanyObligatorioSource 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.
modelstringenumSupported 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+9stylestringOptional V3 curated style name.
promptstringObligatorioDescription of the desired changes.
controlsobjectGeneration controls.
strengthnumberObligatorioHow far to move from the source, from 0 to 1.
style_idstringuuidOptional custom style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringV3 custom-style matching mode; only regular is supported.
text_layoutobject[]V3-only text layout.
image_formatstringenumRaster output format; ignored for SVG output.
webppngnegative_promptstringV3-only undesired content.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Inpaint ImageRECRAFT_INPAINT_IMAGEAcciónRegenerate 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.
RECRAFT_INPAINT_IMAGEAcciónRegenerate 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
nintegerNumber of images to create, from 1 to 6.
zdrbooleanRequest zero data retention.
maskanyObligatorioGrayscale 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.
imageanyObligatorioSource 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.
modelstringenumV3 raster or V3 vector; these are the only models this operation supports.
recraftv3recraftv3_vectorstylestringOptional V3 curated style name.
promptstringObligatorioDescription of the new content.
controlsobjectOptional V3 color, background, artistic, and text controls.
style_idstringuuidOptional custom V3 style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringV3 style matching mode; only regular is supported.
text_layoutobject[]Optional V3 text elements and their four-point polygons.
image_formatstringenumRaster output format; ignored for SVG output.
webppngnegative_promptstringContent the result must not contain.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Basic StylesRECRAFT_LIST_BASIC_STYLESAcciónList Recraft's built-in styles and the compatible model for each. The provider returns the complete list without pagination.
RECRAFT_LIST_BASIC_STYLESAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Custom StylesRECRAFT_LIST_STYLESAcciónList all custom styles created in the connected Recraft account. The provider returns the complete list without pagination.
RECRAFT_LIST_STYLESAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Outpaint ImageRECRAFT_OUTPAINT_IMAGEAcciónExtend 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.
RECRAFT_OUTPAINT_IMAGEAcciónExtend 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
nintegerNumber of images to create, from 1 to 6.
zdrbooleanRequest zero data retention.
sizestringenumSupported V3 output ratio or exact size; cannot accompany expand fields.
1024x10242048x10241024x20481536x10241024x15361365x10241024x13651280x10241024x12801024x17071434x10241024x1434+16imageanyObligatorioSource 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.
modelstringenumV3 raster or V3 vector; these are the only models this operation supports.
recraftv3recraftv3_vectorstylestringOptional V3 curated style name.
promptstringObligatorioDescription of the new content.
controlsobjectOptional V3 color, background, artistic, and text controls.
style_idstringuuidOptional custom V3 style identifier.
expand_topintegerPixels to add above, from 0 to 4096.
expand_leftintegerPixels to add on the left, from 0 to 4096.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringV3 style matching mode; only regular is supported.
text_layoutobject[]Optional V3 text elements and their four-point polygons.
expand_rightintegerPixels to add on the right, from 0 to 4096.
image_formatstringenumRaster output format; ignored for SVG output.
webppngexpand_bottomintegerPixels to add below, from 0 to 4096.
negative_promptstringContent the result must not contain.
zoom_out_percentagenumberPercentage to scale down the source before extending, from 0 below 100.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Image BackgroundRECRAFT_REMOVE_IMAGE_BACKGROUNDAcciónRemove 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.
RECRAFT_REMOVE_IMAGE_BACKGROUNDAcciónRemove 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
imageanyObligatorioSource 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_formatstringenumRaster output format. Omit for Recraft's lossless WebP default. Recraft ignores this setting for SVG output.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Replace Image BackgroundRECRAFT_REPLACE_IMAGE_BACKGROUNDAcciónDetect 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.
RECRAFT_REPLACE_IMAGE_BACKGROUNDAcciónDetect 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
nintegerNumber of images to create, from 1 to 6.
zdrbooleanRequest zero data retention.
imageanyObligatorioSource 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.
modelstringenumV3 raster or V3 vector; these are the only models this operation supports.
recraftv3recraftv3_vectorstylestringOptional V3 curated style name.
promptstringObligatorioDescription of the new content.
controlsobjectOptional V3 color, background, artistic, and text controls.
style_idstringuuidOptional custom V3 style identifier.
random_seedintegerOptional unsigned 32-bit seed.
style_matchstringV3 style matching mode; only regular is supported.
text_layoutobject[]Optional V3 text elements and their four-point polygons.
image_formatstringenumRaster output format; ignored for SVG output.
webppngnegative_promptstringContent the result must not contain.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remix ImageRECRAFT_VARIATE_IMAGEAcciónCreate 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.
RECRAFT_VARIATE_IMAGEAcciónCreate 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
nintegerNumber of variations, from 1 to 6.
zdrbooleanRequest zero data retention.
sizestringObligatorioenumRequired documented aspect ratio or exact WxH size.
1024x10241365x10241024x13651536x10241024x15361820x10241024x18201024x20482048x10241434x10241024x14341024x1280+44imageanyObligatorioSource 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.
modelanyOptional current Recraft model from the official API; external models are excluded.
random_seedintegerOptional unsigned 32-bit seed.
image_formatstringenumRaster output format; ignored for SVG output.
webppng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Vectorize ImageRECRAFT_VECTORIZE_IMAGEAcciónConvert 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.
RECRAFT_VECTORIZE_IMAGEAcciónConvert 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
imageanyObligatorioSource 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_stackingstringenumHow SVG shapes overlap: hierarchical allows stacked shapes; cut_out removes covered portions.
hierarchicalcut_out
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not