Volver al catálogo

Krea MCP

krea_mcp

Krea MCP lets agents generate and enhance images, video, audio and 3D, manage Krea Files, moodboards, styles, Ad Studio brand kits, Drama Studio series, motion projects and node workflows, and run the Krea Agent through Krea's hosted MCP server.

Acciones
95
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 (95)

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.

Ad studio add productKREA_MCP_AD_STUDIO_ADD_PRODUCTAcción

Add a product to an Ad Studio brand kit: a name, at least one product photo URL, and optionally a description, price, page URL, selling points and audience. A kit holds up to 20 products. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de entrada

  • urlany
  • namestringObligatorio
  • pricestring
  • imagesstring[]Obligatorio
  • audiencestring
  • descriptionstring
  • brand_kit_idstringObligatoriouuid
  • selling_pointsstring[]

Parámetros de salida

Sin parámetros.

Ad studio create brand kitKREA_MCP_AD_STUDIO_CREATE_BRAND_KITAcción

Create an Ad Studio brand kit from fields you supply: a name, and optionally a logo URL, colors, fonts, description, tone, audience, selling points and products (each with a name and at least one image). To build a kit from a website instead, use ad_studio_research_brand_kit. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de entrada

  • namestringObligatorio
  • tonestring
  • colorsstring[]
  • taglinestring
  • websiteany
  • audiencestring
  • logo_urlany
  • productsobject[]
  • aestheticstring
  • body_fontstring
  • descriptionstring
  • display_fontstring
  • selling_pointsstring[]

Parámetros de salida

Sin parámetros.

Ad studio delete brand kitKREA_MCP_AD_STUDIO_DELETE_BRAND_KITAcción

Delete an Ad Studio brand kit and its products. Ads already generated are kept. Only delete kits that you created in this session or that the user has explicitly asked you to delete.

Parámetros de entrada

  • brand_kit_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Ad studio delete productKREA_MCP_AD_STUDIO_DELETE_PRODUCTAcción

Remove a product from an Ad Studio brand kit. Only delete products the user has explicitly asked you to remove.

Parámetros de entrada

  • product_idstringObligatoriouuid
  • brand_kit_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Ad studio generate adKREA_MCP_AD_STUDIO_GENERATE_ADAcción

Generate one finished static product ad with Krea 3 from an Ad Studio brand kit. Pass the brand_kit_id and, optionally, product_id (defaults to the kit's first product), aspect_ratio (default 9:16), creative instructions and whether to show the logo. Each call makes exactly one ad; for several ads, call it once per ad. The ad chooses its own layout, copy and art direction; only pass instructions the user gave. Requires Ad Studio in the workspace plan. The attached widget polls the job automatically, so do not call get_job unless the host does not render the widget. To answer what an ad would cost, call it with the same arguments and preflight true: it returns compute_units, affordable and, unless the user's organization hides the balance, available_compute_units, without generating or charging anything. The quote is an estimate, because the final charge depends on the references the ad uses; compute_units is null when no estimate is available. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • logoboolean

    Whether the ads show the brand logo.

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • product_idstringuuid

    The product to advertise. Defaults to the kit's first product.

  • aspect_ratiostringenum
    1:14:59:1616:9
  • brand_kit_idstringObligatoriouuid
  • instructionsstring

    Optional creative direction. The ads choose their own copy and layout.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Ad studio get brand kitKREA_MCP_AD_STUDIO_GET_BRAND_KITAcción

Get an Ad Studio brand kit: its name, logo, colors, fonts, tone, audience and other brand fields, and its products.

Parámetros de entrada

  • brand_kit_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Ad studio list brand kitsKREA_MCP_AD_STUDIO_LIST_BRAND_KITSAcción

List the Ad Studio brand kits in the current workspace, most recently updated first. Use a kit ID with ad_studio_get_brand_kit for its full details and products, or with ad_studio_generate_ad.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Ad studio list productsKREA_MCP_AD_STUDIO_LIST_PRODUCTSAcción

List the products in an Ad Studio brand kit, with each product's ID.

Parámetros de entrada

  • brand_kit_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Ad studio research brand kitKREA_MCP_AD_STUDIO_RESEARCH_BRAND_KITAcción

Create an Ad Studio brand kit by researching a brand's website: its logo, colors, fonts, voice and first products. Returns the new brand_kit_id and a job right away; research takes a few minutes. The attached widget shows the research as it lands and polls get_job itself, so poll get_job only when the host does not render the widget or the user asks for a status update. Once the job completes, read the kit with ad_studio_get_brand_kit, or call ad_studio_select_products as the first tool call of your next reply, with no other tool call before it in that turn, to let the user choose the products to make ads for. If the job fails, no kit is created. Requires Ad Studio in the workspace plan.

Parámetros de entrada

  • urlstringObligatoriouri

Parámetros de salida

Sin parámetros.

Ad studio select productsKREA_MCP_AD_STUDIO_SELECT_PRODUCTSAcción

Show the user a picker of an Ad Studio brand kit's products, so they choose which products to make ads for and how many ads each. Make this the first tool call of the assistant turn, with no other tool call before it in that turn, so ChatGPT mobile can render the widget. Call this before generating when the user has not said which products to advertise. The user's choice arrives as a user message listing product IDs with an ad count for each; then call ad_studio_generate_ad once per ad. After calling this tool, stop and wait for the user to choose.

Parámetros de entrada

  • brand_kit_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Ad studio update brand kitKREA_MCP_AD_STUDIO_UPDATE_BRAND_KITAcción

Change an Ad Studio brand kit's fields. Only the fields you pass change. Manage products with the ad_studio_*_product tools.

Parámetros de entrada

  • namestring
  • tonestring
  • colorsstring[]
  • taglinestring
  • websiteany
  • audiencestring
  • logo_urlany
  • aestheticstring
  • body_fontstring
  • descriptionstring
  • brand_kit_idstringObligatoriouuid
  • display_fontstring
  • selling_pointsstring[]

Parámetros de salida

Sin parámetros.

Ad studio update productKREA_MCP_AD_STUDIO_UPDATE_PRODUCTAcción

Change a product in an Ad Studio brand kit. Only the fields you pass change. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de entrada

  • urlany
  • namestring
  • pricestring
  • imagesstring[]
  • audiencestring
  • product_idstringObligatoriouuid
  • descriptionstring
  • brand_kit_idstringObligatoriouuid
  • selling_pointsstring[]

Parámetros de salida

Sin parámetros.

Apply motion presetKREA_MCP_APPLY_MOTION_PRESETAcción

Apply an animation preset to layers of a motion project, or to a scene for camera, look and background presets, as one edit. Its keyframes merge into what the layer already does: only the preset's own time range is replaced. The result lists the ops it applied, so you can refine them with edit_motion_doc.

Parámetros de entrada

  • atnumber

    Start, in seconds from the scene's start. Default: an entrance starts at the layer's in point, an exit ends at its out.

  • easestring

    An ease name, instead of the preset's.

  • scenestring

    The scene id, for a camera, look or background preset.

  • layersstring[]

    Ids of the layers it goes on. Leave out for camera, look and background presets.

  • paramsobject

    Values for the preset's params, as list_motion_presets names them.

  • presetstringObligatorio

    A preset id from list_motion_presets, such as text/fade-up.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

  • staggernumber

    Starts each layer this many seconds after the one before, counting from at (default: the first layer's in point). Pass at for staggered exits.

  • durationnumber

    Seconds, instead of the preset's.

  • request_idstring

    A random id you make up for this call, 8 to 64 letters, digits, - or _. Send the same id when you retry a call whose result never arrived: the change is applied once, and the retry returns its result. A new change takes a new id.

Parámetros de salida

Sin parámetros.

Call desktop toolKREA_MCP_CALL_DESKTOP_TOOLAcción

Run one tool from get_desktop_tools inside the user's connected desktop app and return its result. Changes land in the open project right away with no approval step, so do only what the user asked, inspect before changing, and prefer the app's undo-friendly tools. Read tools never change the project. Frame capture tools also return the frames as images. A call fails after about 90 seconds if the app does not answer. To bring in a Krea generation, pass its jobId and outputIndex to the app's import or place tool. A failed change whose outcome is unknown may still have landed: inspect before retrying.

Parámetros de entrada

  • toolstringObligatorio

    A tool name from get_desktop_tools, e.g. ae.addLayer

  • appIdstringObligatoriouuid

    appId from list_desktop_apps; it changes when the user reopens the app or project

  • inputobject

    Arguments matching that tool's inputSchema from get_desktop_tools

Parámetros de salida

Sin parámetros.

Cancel jobKREA_MCP_CANCEL_JOBAcción

Delete a Krea generation job and attempt to cancel it first if it has not reached a terminal status.

Parámetros de entrada

  • jobIdstringObligatorio

    Job ID returned by a generation tool call

Parámetros de salida

  • job_idstringObligatorio

    Unique job identifier

  • statusstring

    Terminal status of a job that had already finished and was therefore left unchanged.

  • deletedbooleanObligatorio

    Whether the job was deleted from public job listings.

  • messagestring

    What happened: why the job was left unchanged, or that it was deleted and get_job will no longer return it.

Create api tokenKREA_MCP_CREATE_API_TOKENAcción

Create a personal or service API token in the authenticated workspace. Personal API tokens are scoped to your user and will create assets on your account. The token secret is returned only on creation: store it securely and never include it in URLs or logs.

Parámetros de entrada

  • namestringObligatorio
  • typestringObligatorioenum
    personalservice

Parámetros de salida

Sin parámetros.

Create foldersKREA_MCP_CREATE_FOLDERSAcción

Batch create folders in Krea Files. Each folder lands under parent_uri, or at the context root of the given scope when parent_uri is omitted. Use the returned "folder:<uuid>" URI as parent_uri in write_files or in later create_folders calls to build nested paths. Idempotent: when a live folder with the same name already exists under the parent, the item returns that folder with existing: true.

Parámetros de entrada

  • foldersobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Create moodboardKREA_MCP_CREATE_MOODBOARDAcción

Create a moodboard from a set of images and immediately start analyzing it. Returns a job ID right away; poll get_job until the analysis job completes before using the moodboard (its ID is returned as moodboard_id). For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de entrada

  • namestring

    Optional moodboard name

  • imagesstring[]Obligatorio

    Image URLs for the moodboard (at least one). For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de salida

  • jobobjectObligatorio

    Krea generation job.

  • job_idstringObligatorio

    Unique job identifier

  • timedOutbooleanObligatorio

    Whether a sync call timed out before the job completed

  • completedbooleanObligatorio

    Whether the job reached a completed status

  • moodboard_idstringObligatorio

    Unique moodboard identifier

Create motion projectKREA_MCP_CREATE_MOTION_PROJECTAcción

Start a Krea motion project: an animated video made of keyframed motion graphics (kinetic type, title cards, logo and launch animations, animated shapes, UI demos, social posts), saved in the user's Krea Drive. Start blank (one empty 5 s scene), from the sample, from a Krea Motion template, or from a whole doc. A template start plays the template's preview to the user in the chat right away. Returns the project reference (file:<uuid>) the other motion tools take and a url that opens it in Krea's Motion editor; give the user that url. To change a project that already exists, edit it instead of creating another. Footage-style video (filmed products, scenes, characters) belongs to generate_video. Read get_prompting_guide with "motion" first for the doc format, the ops and how Krea motion should look.

Parámetros de entrada

  • docobject

    A whole krea-motion doc to start from instead (scenes, layers, assets), checked like any edit. Its id, format and version are set for you.

  • namestring

    The project's name.

  • startstringenum

    blank: one empty 5 s scene (the default). sample: a short demo with text, shapes, an image and a transition. Any other value starts from that Krea Motion template, a finished video to adapt, with its media copied into the user's Drive.

    blanklowtide-opening-titlesgadget-stack-fall-carouselaura-spherekrea-image-launchkrea-nodes-launchsilhouette-screensaverletter-collisionguitarist-workflow-ugc-yellow-captionsmesh-gradient-loopbox-carousel-motion-blur-portraitshow-a-gpu-works-isometric-explainer+14

Parámetros de salida

Sin parámetros.

Create node workflowKREA_MCP_CREATE_NODE_WORKFLOWAcción

Create a new Krea Nodes workflow project from a graph of nodes and edges and return its `url` (a path like /nodes/<id> on krea.ai). Nodes do not run on creation; the user opens the link and runs the workflow in the editor. Use node names and handle ids exactly as list_node_types reports them: source handles are output names such as "outputText" or "outputImage", target handles are input names such as "prompt" or "image". Put fixed values in `input` and wire dynamic ones with edges; an input fed by an edge should not also be set. Omit positions to auto-layout left to right. If validation fails, the whole workflow is rejected with every problem listed; fix them all and call again.

Parámetros de entrada

  • namestringObligatorio

    Workflow title shown in the Nodes project list.

  • edgesobject[]

    Wires between nodes, applied after every node exists.

  • nodesobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Create styleKREA_MCP_CREATE_STYLEAcción

Train a new style/LoRA from a set of images. Returns a job ID right away; poll get_job until the training job completes before using the style. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

Parámetros de entrada

  • namestringObligatorio

    Style/LoRA name

  • modelstringObligatorioenum

    Training model.

    k2k2-largek1flux_devwanwan22ltx-23-22bqwenz-image
  • imagesstring[]Obligatorio

    Image URLs for the style (at least one). For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • train_typestringenum

    What the LoRA captures.

    StyleObjectCharacter
  • trigger_wordstring

    Optional trigger word for the trained style.

Parámetros de salida

  • jobobjectObligatorio

    Krea generation job.

  • modestringObligatorioenum

    Whether the call returned immediately (async) or waited for completion (sync)

    asyncsync
  • job_idstringObligatorio

    Unique job identifier

  • timedOutbooleanObligatorio

    Whether a sync call timed out before the job completed

  • completedbooleanObligatorio

    Whether the job reached a completed status

Delete moodboardKREA_MCP_DELETE_MOODBOARDAcción

Delete a moodboard owned by the current user. Only delete moodboards that you created in this session or that the user has explicitly given you permission to delete; never delete a moodboard the user has not authorized.

Parámetros de entrada

  • idstringObligatorio

    Moodboard ID to delete

Parámetros de salida

Sin parámetros.

Delete styleKREA_MCP_DELETE_STYLEAcción

Delete a style/LoRA owned by the current user. Only delete styles that you created in this session or that the user has explicitly given you permission to delete; never delete a style the user has not authorized.

Parámetros de entrada

  • idstringObligatorio

    Style/LoRA ID to delete

Parámetros de salida

Sin parámetros.

Drama studio add characterKREA_MCP_DRAMA_STUDIO_ADD_CHARACTERAcción

Add a character to a Drama Studio series and, by default, paint their character sheet (whole person front and back, and a face close-up) in the series' look with Krea 3. Give a one-line look, or a reference photo to keep the person's face. Pick a voice_id from drama_studio_get_cast. The returned character id is what episode units cast. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • lookstring

    Face, hair, build and wardrobe in one line; the sheet is painted from it

  • namestringObligatorio
  • rolestring

    Like lead, love interest, rival

  • paintboolean

    Paints the character sheet from the look

  • lockedboolean

    Locks an approved sheet so it is not repainted

  • voice_idstringenum

    A voice from drama_studio_get_cast, used in every take the character speaks in

    drama-adaezedrama-priyadrama-siobhandrama-marianadrama-jiwoodrama-margaretdrama-keishadrama-ameliedrama-doloresdrama-meidrama-layladrama-chloe+20
  • referencestringuri

    A photo of the person to keep; the sheet redesigns it in the series' look

  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio add setKREA_MCP_DRAMA_STUDIO_ADD_SETAcción

Add a set (a location every unit happens in) to a Drama Studio series and, by default, paint its sheet from the prompt in the series' look. The returned set id is what episode units use as set_id. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • namestringObligatorio
  • paintboolean

    Paints the set sheet from the prompt

  • promptstring

    What the place looks like; the sheet is painted from it

  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio create seriesKREA_MCP_DRAMA_STUDIO_CREATE_SERIESAcción

Create a vertical micro-drama series in Drama Studio from a title and, optionally, its bible: logline, idea, genres, hook rules, a look, format, arc and an episode outline. Read get_prompting_guide with micro-drama first for how series, cast, sets and episodes are written. The series opens in Krea at the returned url. Then add characters and sets with drama_studio_add_character and drama_studio_add_set.

Parámetros de entrada

  • arcobject[]

    The season arc as episode ranges

  • ideastring
  • titlestringObligatorio
  • aspectstringenum
    9:1616:9
  • genresstring[]
  • loglinestring
  • look_idstringenum

    The look every sheet and take is painted in: cinematic, dark-fantasy, coming-of-age, k-drama, romantic-comedy, 90s, dark-academia, anime, classic-2d, painterly-2d, 2-5d, 3d, painterly-3d, cgi, noir-3d, furry

    cinematicdark-fantasycoming-of-agek-dramaromantic-comedy90sdark-academiaanimeclassic-2dpainterly-2d2-5d3d+4
  • episodesobject[]

    Episodes to add or retitle by number; episodes not listed are kept

  • languagestring
  • hook_rulesstring

    How every episode opens and ends

  • episode_secondsinteger

Parámetros de salida

Sin parámetros.

Drama studio get castKREA_MCP_DRAMA_STUDIO_GET_CASTAcción

Get a Drama Studio series' characters and sets with their sheets, whether each sheet is still painting, and the voices characters can use. The attached widget shows the cast board and polls while sheets paint, so do not poll this tool yourself.

Parámetros de entrada

  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio get episodeKREA_MCP_DRAMA_STUDIO_GET_EPISODEAcción

Get a Drama Studio episode's board: its units in order, each with its prompt, cast, set, dialogue and takes. The attached widget plays the takes and polls while they shoot, so do not poll this tool yourself.

Parámetros de entrada

  • episodeintegerObligatorio
  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio get seriesKREA_MCP_DRAMA_STUDIO_GET_SERIESAcción

Get a Drama Studio series: its pitch and bible (title, logline, genres, hook rules, look, format, arc), its cast and sets, and its season of episodes. The attached widget shows the series card.

Parámetros de entrada

  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio list seriesKREA_MCP_DRAMA_STUDIO_LIST_SERIESAcción

List the Drama Studio micro-drama series in the current workspace, most recently updated first. Use a series ID with the other drama_studio_* tools.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Drama studio shoot unitsKREA_MCP_DRAMA_STUDIO_SHOOT_UNITSAcción

Shoot takes of an episode's written units on the series' video model, with the character sheets, set sheets and voices as references, and keep each take on its unit. By default it shoots every unit with no take yet; pass unit_ids to shoot another take of particular units. Each unit is one generation and costs credits, so confirm with the user before shooting a whole episode. The attached widget plays the takes as they land. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • episodeintegerObligatorio
  • unit_idsstring[]

    Units to shoot; defaults to every unit that has no take yet

  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio update bibleKREA_MCP_DRAMA_STUDIO_UPDATE_BIBLEAcción

Change a Drama Studio series' bible. Only the fields you pass change; episodes are added or retitled by number and the rest are kept. Changing the look changes how later sheets and takes are painted.

Parámetros de entrada

  • arcobject[]

    The season arc as episode ranges

  • ideastring
  • titlestring
  • aspectstringenum
    9:1616:9
  • genresstring[]
  • loglinestring
  • look_idstringenum

    The look every sheet and take is painted in: cinematic, dark-fantasy, coming-of-age, k-drama, romantic-comedy, 90s, dark-academia, anime, classic-2d, painterly-2d, 2-5d, 3d, painterly-3d, cgi, noir-3d, furry

    cinematicdark-fantasycoming-of-agek-dramaromantic-comedy90sdark-academiaanimeclassic-2dpainterly-2d2-5d3d+4
  • episodesobject[]

    Episodes to add or retitle by number; episodes not listed are kept

  • languagestring
  • series_idstringObligatoriouuid
  • hook_rulesstring

    How every episode opens and ends

  • episode_secondsinteger

Parámetros de salida

Sin parámetros.

Drama studio update characterKREA_MCP_DRAMA_STUDIO_UPDATE_CHARACTERAcción

Change a Drama Studio character. Only the fields you pass change. Pass paint: true to repaint the sheet from the look (a locked sheet must be unlocked first); lock a sheet once the user approves it. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • lookstring

    Face, hair, build and wardrobe in one line; the sheet is painted from it

  • namestring
  • rolestring

    Like lead, love interest, rival

  • paintboolean

    Repaints the character sheet

  • lockedboolean

    Locks an approved sheet so it is not repainted

  • voice_idstring

    A voice from drama_studio_get_cast; a character keeps an older voice it was cast with

  • referencestringuri

    A photo of the person to keep; the sheet redesigns it in the series' look

  • series_idstringObligatoriouuid
  • character_idstringObligatorio

Parámetros de salida

Sin parámetros.

Drama studio update setKREA_MCP_DRAMA_STUDIO_UPDATE_SETAcción

Change a Drama Studio set. Only the fields you pass change; pass paint: true to repaint its sheet. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • namestring
  • paintboolean

    Repaints the set sheet

  • promptstring

    What the place looks like; the sheet is painted from it

  • set_idstringObligatorio
  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Drama studio write episodeKREA_MCP_DRAMA_STUDIO_WRITE_EPISODEAcción

Write an episode as units, one timed scene of 20 to 30 seconds each, the way the micro-drama guide's shooting.md writes them, and lay them on the episode's board in place of what it had. A unit rewritten under the same id keeps its takes. Every set_id must be a set of the series and every cast entry a character id. The episode must be in the season (add it with drama_studio_update_bible).

Parámetros de entrada

  • hookstringObligatorio

    What the first three seconds show or say

  • unitsobject[]Obligatorio
  • episodeintegerObligatorio
  • series_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Edit motion docKREA_MCP_EDIT_MOTION_DOCAcción

Change a motion project's doc with engine ops, applied in order. The whole edit is validated; a failing op leaves the doc unchanged and says why. Read get_prompting_guide with "motion" first for the doc format, the ops and how Krea motion should look.

Parámetros de entrada

  • opsobject[]Obligatorio

    Engine ops, applied in order and all-or-nothing: addScene, updateScene, removeScene, layoutScenes, addLayer, updateLayer, removeLayer, moveLayer, setKeys, shiftLayer, addAsset, removeAsset, updateDoc.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

  • request_idstring

    A random id you make up for this call, 8 to 64 letters, digits, - or _. Send the same id when you retry a call whose result never arrived: the change is applied once, and the retry returns its result. A new change takes a new id.

Parámetros de salida

Sin parámetros.

Enhance imageKREA_MCP_ENHANCE_IMAGEAcción

Enhance or upscale an existing image only. Select an image enhancement model from list_models category "enhance" and inspect its image_url input with get_model_schema. Set preflight: true for a cost quote without queuing or charging a job. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Enhance videoKREA_MCP_ENHANCE_VIDEOAcción

Enhance or upscale an existing video only, including Topaz video upscaling. Select a video enhancement model from list_models category "enhance" and inspect its video_url input with get_model_schema. Use generate_video to create a new video instead. Set preflight: true for a cost quote without queuing or charging a job. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Execute node appKREA_MCP_EXECUTE_NODE_APPAcción

Submit a node app execution request through the Krea public API. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows. MCP execution supports public node apps and node apps shared with the current workspace; private user-scoped node apps cannot be executed.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload matching the node app's input schema

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

  • nodeAppVersionIdstringObligatorio

    Node app version ID from get_node_apps

Parámetros de salida

  • jobobjectObligatorio

    Krea generation job.

  • modestringObligatorioenum

    Whether the call returned immediately (async) or waited for completion (sync)

    asyncsync
  • job_idstringObligatorio

    Unique job identifier

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • timedOutbooleanObligatorio

    Whether a sync call timed out before the job completed

  • completedbooleanObligatorio

    Whether the job reached a completed status

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

Export 3dKREA_MCP_EXPORT_3DAcción

Export the model of a completed generate_3d job to OBJ, FBX, PLY, or STL and return the URL of a ZIP file holding it. The job result already links the GLB, so call this only when the user wants another format. Conversion can take a few minutes for large models; the result is cached, so a repeat call for the same job and format returns at once.

Parámetros de entrada

  • jobIdstringObligatorio

    Job ID of a completed generate_3d job

  • formatstringObligatorioenum

    Target file format

    objfbxstlply

Parámetros de salida

  • urlstringObligatoriouri

    URL of the exported 3D model, returned as a ZIP file.

Export motion mp4KREA_MCP_EXPORT_MOTION_MP4Acción

Render a motion project to an MP4 and play it to the user in the chat: this is how the user watches what you made, so call it each time a pass is ready to be seen, with size 720p for a quick look. The video is rendered with the project's media, fonts and sound and saved to the user's Krea library. Pass version to export a saved version, scene for one scene, and size for a multiple of the frame or a standard video size. The export runs as a job, from under a minute to several minutes; the attached player follows it and plays the video, so do not call get_job unless the host does not render the widget.

Parámetros de entrada

  • sizestringenum

    A multiple of the project's frame, or a standard video size that sets its short side. Default 1x.

    0.5x1x2x3x480p720p1080p4k
  • scenestring

    A scene id, for that scene only. Without it, the whole video.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

  • versioninteger

    A saved version to export, as get_motion_doc lists them. Without it, the project as it is now.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Generate 3dKREA_MCP_GENERATE_3DAcción

Submit a 3D object generation request through the Krea public API. For multi-image-to-3D, use Meshy 7.1 (meshy/meshy-7.1) and pass two to four photos of the same object from different angles in `image_urls`. The result is a GLB; call export_3d with the job id for OBJ, FBX, PLY, or STL. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Generate audioKREA_MCP_GENERATE_AUDIOAcción

Submit an audio generation request through the Krea public API — text-to-speech, dialogue, and music with models like Seed Audio (bytedance/seed-audio-1.0) and ElevenLabs (elevenlabs/tts — defaults to eleven_multilingual_v2, pass model_id: eleven_v4 for ElevenLabs' most expressive speech model or eleven_v4_turbo for low-latency; elevenlabs/music, elevenlabs/music-v2, elevenlabs/music-v2.5 — set force_instrumental: true for instrumental-only tracks). For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Generate imageKREA_MCP_GENERATE_IMAGEAcción

Submit an image generation request through the Krea public API. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Generate videoKREA_MCP_GENERATE_VIDEOAcción

Submit a video generation request through the Krea public API. For Seedance 2 and Kling 3.0 models, fetch get_prompting_guide before the turn that calls generate_video when possible and follow it when writing the prompt; when making a video ad or product commercial, also fetch the "video-ad-formats" guide; when making an episode of a drama series, also fetch the "micro-drama" guide. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean

    Wait for completion before returning. Prefer async mode for MCP Apps UI progress and polling; set sync=true only when the user explicitly asks to wait for the final result in the tool response.

  • inputobjectObligatorio

    Request payload validated against the matching public API model schema. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url.

  • modelstringObligatorio

    Model ID from list_models

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

    Seconds to wait when sync=true. The wait stops after 50 seconds even when this is higher, because many MCP clients give up on a request after 60 seconds. If the job is still running, the result has timedOut=true and the job_id: call get_job with that job_id instead of submitting again, because every submission is charged.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Get agent sessionKREA_MCP_GET_AGENT_SESSIONAcción

Read the current state of a Krea Agent session without waiting: status, latest assistant text, and the deliverables it presented. Sessions are real Krea Agent sessions, visible at the returned url and billed to the caller's workspace. The agent runs unattended: it never asks the caller questions, and cost and permission prompts are approved automatically. Use this tool to check back on a turn you started earlier; use wait_for_agent_session when you need to block and wait for its result. Only call this tool when the user explicitly asks to use the Krea Agent; never call it on your own initiative.

Parámetros de entrada

  • sessionIdstringObligatoriouuid

    Session id returned by send_agent_message

Parámetros de salida

  • urlstringObligatorio

    The session in the Krea app

  • textstringObligatorio

    Latest assistant message text

  • errorstring
  • mediaobject[]Obligatorio

    Media the session produced — the deliverables the agent presented, plus its other generations while a turn is running. Order is not significant. Each item is {jobId, mediaKind?} for a generation (fetch it with get_job), {url} for rehosted media, or {uri, name, mimeType} for a Krea file (read it with read_files)

  • runIdstring
  • statusstringObligatorioenum
    not_startedrunningcompletedfailedcancelled
  • finishedbooleanObligatorio

    True once status is completed, failed, or cancelled

  • threadIdstringObligatorio
  • sessionIdstringObligatorio
Get balanceKREA_MCP_GET_BALANCEAcción

Report the authenticated workspace's balance. Non-agent API-key connections return only the remaining prepaid API balance in US dollars. OAuth connections and workspace-agent keys return the current plan and remaining compute units (credits), split into plan, purchased, and free compute. Members of an organization's workspace who are not organization owners or admins get balance_visible false and a message instead of any amounts. Call this when the user asks about their balance or plan.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Get desktop toolsKREA_MCP_GET_DESKTOP_TOOLSAcción

List the tools a connected desktop app offers, each with its description, whether it reads or changes the project, and the JSON Schema for its input. Call this once per app before call_desktop_tool. Script tools run arbitrary code in the app: tell the user what a script will do before you run it.

Parámetros de entrada

  • appIdstringObligatoriouuid

    appId from list_desktop_apps; it changes when the user reopens the app or project

Parámetros de salida

Sin parámetros.

Get jobKREA_MCP_GET_JOBAcción

Fetch the latest status for a previously submitted Krea generation job. This tool is primarily used by the MCP Apps widget to poll automatically.

Parámetros de entrada

  • jobIdstringObligatorio

    Job ID returned by a generation tool call

Parámetros de salida

  • typestringObligatorio

    Job type, for example flux or node-app

  • errorobject

    Failure details, present when the job fails

  • job_idstringObligatorio

    Unique job identifier

  • resultobject

    Job output, present once the job completes

  • statusstringObligatorio

    Current job status

  • positionany

    Queue position while the job is pending

  • progressnumber | null

    Estimated completion from 0 to 1 while the job runs, or null when unknown or finished

  • created_atany

    Job creation timestamp

  • completed_atany

    Job completion timestamp, present once the job finishes

Get model schemaKREA_MCP_GET_MODEL_SCHEMAAcción

Return the full public API input/output schema for a supported Krea generation model. When the result includes promptingGuide, follow it when writing the prompt and choosing input fields.

Parámetros de entrada

  • modelstringObligatorio

    Model ID from list_models

Parámetros de salida

  • namestringObligatorio
  • modelstringObligatorio
  • categorystringObligatorioenum
    imagevideoenhance3daudio
  • deprecationobject

    Deprecation details, present when the model is deprecated

  • descriptionstring
  • inputSchemaobjectObligatorio

    JSON Schema describing the model input payload

  • endpointPathstringObligatorio
  • outputSchemasobjectObligatorio

    OpenAPI response objects keyed by HTTP status code

  • promptingGuidestring

    Model-specific prompting guide in Markdown, present for models that have one. Follow it when writing the prompt and choosing input fields.

Get more toolsKREA_MCP_GET_MORE_TOOLSAcción

Check for additional tools whenever your task might benefit from specialized capabilities - even if existing tools could work as a fallback.

Parámetros de entrada

  • contextstringObligatorio

    A description of your goal and what kind of tool would help accomplish it.

Parámetros de salida

Sin parámetros.

Get motion docKREA_MCP_GET_MOTION_DOCAcción

Read a motion project's doc as it is now, including the user's own edits in Krea, with its saved versions and the user's notes: each open note (status sent) has its id, text and where it points (time, scene, and layer, spot, area or drawing).

Parámetros de entrada

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

Get node appsKREA_MCP_GET_NODE_APPSAcción

List runnable Krea node apps available to the authenticated API workspace. MCP execution supports public node apps and node apps shared with the current workspace; private user-scoped node apps cannot be executed.

Parámetros de entrada

  • limitinteger

    Maximum number of runnable node apps to return

  • ownerstringenum

    Filter node apps by owner. Use "workspace" to return only node apps shared with the current workspace.

    allworkspace
  • cursorstringdate-time

    Pagination cursor from a previous get_node_apps response

Parámetros de salida

  • node_appsobject[]Obligatorio

    Runnable node apps. Each item includes node app metadata and input/output schemas; pass its node_app_version_id to execute_node_app.

  • next_cursorstring | nullObligatorio

    Pagination cursor for the next page, or null when there are no more results

Get node app versionsKREA_MCP_GET_NODE_APP_VERSIONSAcción

List runnable versions for a Krea node app available to the authenticated API workspace, by node app ID or krea.ai/nodes/app/<username>/<slug> link. MCP execution supports public node apps and node apps shared with the current workspace; private user-scoped node apps cannot be executed.

Parámetros de entrada

  • limitinteger

    Maximum number of runnable node app versions to return

  • cursorstringdate-time

    Pagination cursor from a previous get_node_app_versions response

  • nodeAppIdstringObligatorio

    Node app ID from get_node_apps, or a node app link like https://www.krea.ai/nodes/app/<username>/<slug>

Parámetros de salida

  • next_cursorstring | nullObligatorio

    Pagination cursor for the next page, or null when there are no more results

  • node_app_versionsobject[]Obligatorio

    Runnable versions for the node app. Each item includes version metadata and input/output schemas; pass its node_app_version_id to execute_node_app.

Get prompting guideKREA_MCP_GET_PROMPTING_GUIDEAcción

Return a Krea prompt-writing guide. Pass a model ID to get model-specific prompting rules — call this once before writing prompts for Seedance 2 models (bytedance/seedance-2, bytedance/seedance-2-fast, bytedance/seedance-2-mini) or Kling 3.0 (kling/kling-3.0) and follow it when crafting the prompt and choosing input fields. Also serves named task guides: "video-ad-formats" is a library of 27 short-video ad formats with fill-in prompt templates plus a pattern-interrupt hook library — fetch it when creating video ads, product commercials, or UGC-style promotional content. "micro-drama" is the production guide for episodic dialogue dramas (micro-drama and short-drama series, vertical soap operas, web-series pilots): series bible, locked cast and voices, shot units, continuity, failures, and captions — fetch it when making or continuing a drama series.

Parámetros de entrada

  • guidestringObligatorio

    Model ID from list_models (e.g. bytedance/seedance-2) or a named guide slug (e.g. video-ad-formats, micro-drama)

Parámetros de salida

Sin parámetros.

Get upload urlKREA_MCP_GET_UPLOAD_URLAcción

Get a 3 hour presigned URL for uploading an asset. POST the file to this URL as multipart/form-data with a file field. For example, the following command would work for CURL: `curl -X POST "$UPLOAD_URL" -F "file=@/example.png"`. The asset URL will be returned in the response body. The same presigned URL can be reused to upload multiple files within its 3 hour lifetime — POST once per file and each returns its own asset URL, so you do not need a new URL per upload. If sending a POST to the presigned URL fails tell the user to add `api.krea.ai` to their domain allowlist. If you cannot make the POST yourself at all — for example your runtime is sandboxed without network egress, or you have no way to send HTTP requests — do not keep retrying: call upload_asset instead so the user can drop the file into the upload widget directly.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Lint motionKREA_MCP_LINT_MOTIONAcción

Check a motion project's doc for problems: missing assets, text off canvas, unreadably short text, linear moves, lockstep timing, backdrops with nothing beneath, expressions that don't compile. render_motion_frames reports the expressions that fail while running.

Parámetros de entrada

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

List api tokensKREA_MCP_LIST_API_TOKENSAcción

List API token metadata and validity in the authenticated workspace, including revoked tokens. Never returns token secrets.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List custom agentsKREA_MCP_LIST_CUSTOM_AGENTSAcción

List the custom agents in the user's Krea workspace, each with an id, name, and description. Pass an id as send_agent_message's customAgentId to start a new Krea Agent session with that agent's instructions. Only call this tool when the user asks to use a custom agent with the Krea Agent. Requires custom agents in the workspace plan.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • customAgentsobject[]Obligatorio
List desktop appsKREA_MCP_LIST_DESKTOP_APPSAcción

List the desktop creative apps (After Effects, Photoshop, Illustrator, Premiere Pro, DaVinci Resolve, Blender, TouchDesigner, Rhino) the user connected to AI assistants from the Krea panel inside the app, with the device and open project. Returns an appId for get_desktop_tools, call_desktop_tool, and send_agent_message's desktopAppId. An empty list means nothing is connected: tell the user to open the Krea panel in the app and turn on AI assistant access. Only call this tool when the user asks to work in one of these apps.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List filesKREA_MCP_LIST_FILESAcción

Recursively list authorized Krea Files by user/workspace scope, type, filename, and exact tags.

Parámetros de entrada

  • typestringenum
    filefolderassetmoodboardstylesessioncollection
  • limitintegerObligatorio
  • scopestringObligatorioenum
    userworkspace
  • cursorstring
  • all_tagsstring[]Obligatorio
  • any_tagsstring[]Obligatorio
  • filenamestring
  • root_uristring
  • without_tagsstring[]Obligatorio

Parámetros de salida

Sin parámetros.

List file tagsKREA_MCP_LIST_FILE_TAGSAcción

Discover exact tags already used on accessible Krea Files, with counts. Tags are labels for retrieval and do not grant access.

Parámetros de entrada

  • limitintegerObligatorio
  • querystringObligatorio
  • cursorstring
  • prefixstringObligatorio

Parámetros de salida

Sin parámetros.

List modelsKREA_MCP_LIST_MODELSAcción

List supported Krea public API generation models. Pass category to list only one of image, video, enhance, 3d, or audio.

Parámetros de entrada

  • categorystringenum

    Only list models in this category. Omit to list every category.

    imagevideoenhance3daudio

Parámetros de salida

  • modelsobject[]Obligatorio

    Supported generation models

List moodboardsKREA_MCP_LIST_MOODBOARDSAcción

List moodboards owned by the current user and ones added to their collection. Use the ID to reference the moodboard to use when generating an image using a Krea 2 model.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • moodboardsobject[]Obligatorio

    Moodboards accessible to the current user.

List motion effectsKREA_MCP_LIST_MOTION_EFFECTSAcción

List the effects motion layers can use (in effects, on adjustment layers, and in backdrop to filter what is beneath a layer), with their params and defaults.

Parámetros de entrada

  • searchstring

    Words to match in names and descriptions.

  • categorystring

    Only this category.

Parámetros de salida

Sin parámetros.

List motion presetsKREA_MCP_LIST_MOTION_PRESETSAcción

List motion animation presets (text in and out, entrances and exits, emphasis, loops, camera moves, looks, backgrounds, particles) with their params. Apply one with apply_motion_preset.

Parámetros de entrada

  • searchstring

    Words to match in names and descriptions.

  • categorystring

    Only this category.

Parámetros de salida

Sin parámetros.

List motion transitionsKREA_MCP_LIST_MOTION_TRANSITIONSAcción

List the motion scene transitions, with their params and defaults.

Parámetros de entrada

  • searchstring

    Words to match in names and descriptions.

Parámetros de salida

Sin parámetros.

List node typesKREA_MCP_LIST_NODE_TYPESAcción

Discover the nodes available in the Krea Nodes workflow editor before calling create_node_workflow or update_node_workflow. With no arguments it lists every node with cost and quality; with `search` it finds nodes by name or capability; with `node_types` it returns each node's input handles (IN), output handles (OUT), and CONFIG fields with their allowed values; for "Custom Node" it also returns customNodeInputSchema, the JSON Schema of the node's whole input, whose properties.customNode is the definition schema. Always look up the exact nodes you intend to wire so handle names and config values are right.

Parámetros de entrada

  • searchany

    Fuzzy search for nodes by name, capability, or tag. Omit when listing exact names.

  • node_typesany

    Exact node names to describe (inputs, outputs, config fields). Omit when searching.

Parámetros de salida

Sin parámetros.

List node workflowsKREA_MCP_LIST_NODE_WORKFLOWSAcción

Find Krea Nodes workflows you can edit in the current workspace, most recently updated first. Pass `search` to match part of the workflow name. Each result has the workflow id and /nodes/<id> url to pass to read_node_workflow or update_node_workflow.

Parámetros de entrada

  • limitinteger
  • searchstring

    Part of the workflow name, case-insensitive.

Parámetros de salida

Sin parámetros.

List stylesKREA_MCP_LIST_STYLESAcción

List Krea styles/LoRAs available to the authenticated user, with cursor pagination.

Parámetros de entrada

  • cursorstringdate-time

    Pagination cursor from a previous list_styles response

Parámetros de salida

  • stylesobject[]Obligatorio

    Styles available to the authenticated user

  • next_cursorstring | nullObligatorio

    Pagination cursor for the next page, or null when there are no more results

List workspacesKREA_MCP_LIST_WORKSPACESAcción

List the workspaces available to this connection and identify the selected workspace. OAuth connections can select any workspace they belong to with select_workspace. API-key connections can only access the workspace bound to their key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Overwrite filesKREA_MCP_OVERWRITE_FILESAcción

LEGACY: prefer write_files_inline or write_files_upload with the uri field. Batch replace content in existing Krea Files. Existing tags are preserved unless replacement tags are supplied. Pass content inline for text up to 200000 bytes (an empty string truncates the file). Omit content (or pass null) for a large or binary file: the item returns a signed uploadUrl instead — PUT the raw file bytes as the whole request body within 15 minutes (curl -X PUT --data-binary @file). Never send a multipart body (curl -F): the server rejects it with 415. Files have no size limit; over 20 MB, also pass the exact size_bytes to get a direct storage upload instead: PUT the bytes to uploadUrl (or each slice to multipart.partUrls, collecting the ETag response headers), echo the returned headers, then POST commitUrl (multipart: with a JSON body {"parts":[{"partNumber":1,"etag":"..."}]}) — the overwrite lands only when the commit succeeds.

Parámetros de entrada

  • filesobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Read filesKREA_MCP_READ_FILESAcción

Batch read Krea Files by URI. Content lives on "file:<uuid>" rows, as returned by list_files and the write tools; container URIs (folder:, session:, moodboard:) come back with error "not a content file". This tool is not a URL fetcher: https:// URLs (generated images, uploads) and bare ids are not Krea Files URIs and fail. Text is returned inline; binary files return short-lived download URLs.

Parámetros de entrada

  • urisstring[]Obligatorio

    Krea Files URIs in the form "<type>:<uuid>", taken from list_files or write_files results. Content comes from "file:<uuid>" leaves; container URIs (folder:, session:, moodboard:) return "not a content file". Web URLs (https://...) and bare ids are not Krea Files URIs and fail.

Parámetros de salida

Sin parámetros.

Read node workflowKREA_MCP_READ_NODE_WORKFLOWAcción

Read a Krea Nodes workflow you can edit in the current workspace by id or /nodes/<id> link. Returns its nodes (system ids, types, names, positions), edges, and in detail mode each node's current inputs, outputs, and available handles. Always read a workflow before updating it so you use real node ids.

Parámetros de entrada

  • modestringenum

    summary: counts and layout. list (default): every node with id, type, name, position, status, and parentId for nodes in a section. detail: full input/output and available handles for `node_ids`.

    summarylistdetail
  • pageinteger
  • node_idsstring[]

    Node ids to inspect in detail mode. Use ids from a previous read, never names.

  • workflowstringObligatorio

    The workflow to work on: its id, its /nodes/<id> path, or the full link.

  • page_sizeinteger

Parámetros de salida

Sin parámetros.

Remove backgroundKREA_MCP_REMOVE_BACKGROUNDAcción

Remove the background from an image and return a transparent PNG cutout of the subject. Use this for background removal, cutouts, or transparent backgrounds instead of generate_image or an image-editing model, which can change the subject. Set preflight to get the cost quote without submitting. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. Use async mode by default so the MCP Apps UI can show progress. The attached widget polls get_job automatically, so do not manually call get_job after submitting unless the user explicitly asks for a text status update or the host does not render the widget. Use sync mode only when the user explicitly asks to wait for the final result in the tool response, because long generations can time out. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it. The result widget renders most reliably when the generation tool is the first tool call of the assistant turn, so make preparatory calls such as get_model_schema, get_upload_url, get_prompting_guide, and list_models in an earlier turn or before starting the turn that generates, when the client allows.

Parámetros de entrada

  • syncboolean
  • providerstringenum

    "birefnet" (BiRefNet, the default: fast and low cost) or "photoroom" (Photoroom: higher quality on complex edges such as hair and on photorealistic subjects, at a higher price).

    birefnetphotoroom
  • image_urlstringObligatoriouri

    The image to cut out.

  • preflightboolean

    Return a compute-unit cost quote and the available balance instead of submitting. Nothing is queued or charged. Use it to answer what a generation would cost before running it.

  • timeoutSecondsinteger

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Render motion contactKREA_MCP_RENDER_MOTION_CONTACTAcción

Look at a motion project as a contact sheet: evenly spaced frames of the whole video or one scene, each under its time and scene name, with what failed to draw by layer id. Call it before telling the user a pass is done. Takes 10 to 20 seconds.

Parámetros de entrada

  • countinteger

    How many frames, 4 to 24 (default 12).

  • scenestring

    A scene id, for that scene only. Without it, the whole video.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

Render motion framesKREA_MCP_RENDER_MOTION_FRAMESAcción

Render frames of a motion project and look at them: one frame large, or up to 6 side by side with their times, rendered as the MP4 export would be. What failed to draw comes back with the image, by layer id: a shader that did not compile, a failing expression, media that did not load, a font that drew in a stand-in. Takes 10 to 20 seconds.

Parámetros de entrada

  • scenestring

    A scene id: the times count from its start.

  • timesnumber[]Obligatorio

    Up to 6 times in seconds, from the start of the video, or of `scene` when given.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

Resolve motion noteKREA_MCP_RESOLVE_MOTION_NOTEAcción

Mark one of the user's notes on a motion project done once the doc addresses it, with a one-line reply the user reads on the note in Krea. The user leaves notes on an export in the Motion player; they arrive as a message starting “Feedback on” the project's name, listing each note's time and text, and get_motion_doc has their ids and where they point.

Parámetros de entrada

  • idstringObligatorio

    The note's id, from the notes message or get_motion_doc.

  • replystringObligatorio

    One line the user reads on the note: what you changed.

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

Restore motion versionKREA_MCP_RESTORE_MOTION_VERSIONAcción

Put a saved version back as a motion project's doc, when the user asks to go back to it. It becomes a new revision, so nothing is lost. get_motion_doc lists the versions.

Parámetros de entrada

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

  • versionintegerObligatorio

    The version number, as get_motion_doc lists them.

  • request_idstring

    A random id you make up for this call, 8 to 64 letters, digits, - or _. Send the same id when you retry a call whose result never arrived: the change is applied once, and the retry returns its result. A new change takes a new id.

Parámetros de salida

Sin parámetros.

Revoke api tokenKREA_MCP_REVOKE_API_TOKENAcción

Revoke an API token by its tokenId from list_api_tokens, in the authenticated workspace. Revocation is permanent.

Parámetros de entrada

  • tokenIdstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Save motion versionKREA_MCP_SAVE_MOTION_VERSIONAcción

Save a motion project as it is now as a numbered version the user can open, compare and go back to in Krea. Do it each time a pass is ready to be looked at. Saving again with nothing changed returns the same version.

Parámetros de entrada

  • titlestringObligatorio

    What this version is, in a few words: "First pass", "Tighter hook, new end card".

  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

  • request_idstring

    A random id you make up for this call, 8 to 64 letters, digits, - or _. Send the same id when you retry a call whose result never arrived: the change is applied once, and the retry returns its result. A new change takes a new id.

Parámetros de salida

Sin parámetros.

Select workspaceKREA_MCP_SELECT_WORKSPACEAcción

Switch this OAuth connection to a workspace ID from list_workspaces. Ask the user which workspace to use if unclear. This changes the workspace and billing context for subsequent requests on this connection, including other conversations sharing it, but not other connections or the Krea website. Wait for this call to finish before making workspace-scoped calls; do not batch them with this call. API-key connections cannot switch workspaces.

Parámetros de entrada

  • workspace_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Send agent messageKREA_MCP_SEND_AGENT_MESSAGEAcción

Only call this tool when the user explicitly asks to use the Krea Agent; never call it on your own initiative. Start a Krea Agent session (omit sessionId) or send a follow-up turn to an existing one. The Agent plans and runs image, video, and audio generations on the user's behalf. Prefer starting new sessions for new requests or unrelated work, and use separate sessions for work that should run at the same time (a session runs one turn at a time). Reuse a sessionId if needed to iterate on the same piece of work. Sessions are real Krea Agent sessions, visible at the returned url and billed to the caller's workspace. The agent runs unattended: it never asks the caller questions, and cost and permission prompts are approved automatically, so state every requirement and constraint in the prompt. Returns immediately with status running; the turn keeps running whether or not you wait, so send and carry on. Check back with get_agent_session, or block with wait_for_agent_session when you need the result. Attachments accept http(s) URLs and Krea Files URIs "file:<uuid>". A model pin must be included in the workspace plan; the error lists the allowed ids.

Parámetros de entrada

  • namestring

    Session name, new sessions only

  • modelstringenum

    The LLM for this turn. Omit it for Auto, and send it on every turn that should use a specific model. Must be included in the workspace plan.

    openai/gpt-6.2-astraopenai/gpt-6-astraopenai/gpt-6.1-solopenai/gpt-6.1-terraopenai/gpt-6-solopenai/gpt-6-lunaopenai/gpt-5.6-solopenai/gpt-5.6-terraopenai/gpt-5.6-lunaopenai/gpt-5.5anthropic/claude-opus-5.5anthropic/claude-opus-5+18
  • effortstringenum

    The effort for this turn. Omit it for default, and send it on every turn that should use another effort.

    fastdefaulthighxhigh
  • promptstring
  • sessionIdstringuuid

    Omit to start a new session; pass an existing id to continue it

  • attachmentsobject[]

    Transfer reference files that are not otherwise accessible to the Agent here. Usable URLs in the prompt, existing Krea context, and prior session files need not be repeated in attachments. The Agent does not inherit your conversation or attachments. Mentioning OpenAI file_ IDs in prompt text does not transfer their bytes, and those IDs cannot be converted to Krea file URIs.

  • desktopAppIdstringuuid

    An appId from list_desktop_apps. The Agent then works inside that desktop app for this turn.

  • customAgentIdstringuuid

    Start the new session with a custom agent from the workspace. New sessions only; a session keeps the custom agent it started with.

Parámetros de salida

  • urlstringObligatorio
  • modelstring | nullObligatorio

    The pinned LLM this turn runs on, or null when Auto picks it

  • runIdstringObligatorio
  • effortstringObligatorioenum

    The effort this turn runs at

    fastdefaulthighxhigh
  • statusstringObligatorioenum
    running
  • threadIdstringObligatorio
  • sessionIdstringObligatorio
Send motion notesKREA_MCP_SEND_MOTION_NOTESAcción

Save the notes left on a motion export in the player and send them as one round of feedback.

Parámetros de entrada

  • notesobject[]Obligatorio
  • projectstringObligatorio

    The motion project file: its file:<uuid> reference (as create_motion_project returns it and the conversation lists it), or its /krea path.

Parámetros de salida

Sin parámetros.

Show plans and packsKREA_MCP_SHOW_PLANS_AND_PACKSAcción

Show the user Krea's upgrade offer and compute packs in one interactive card with two tabs, the same components as Krea's in-app upgrade modal. The plans tab opens on the recommended next plan and lets the user switch to every higher plan (for example Pro and Max), each with monthly and yearly pricing and a checkout button. The packs tab shows one-time compute packs, which add workspace compute (credits) without changing the plan and are sold on paid plans to workspace owners and admins; when the workspace cannot buy them the card shows only plans and the result says why. Packs do not add API credit for non-agent API keys. When a sale such as Black Friday is running, the result's sale field names it and when it ends, the plans already carry the sale prices, and each plan's sale_percent_off is its yearly discount: mention the sale and its end to the user. Call this when the user wants to upgrade, asks what Krea costs or which plan to get, hits a plan-gated model, runs out of credits, or asks to buy more credits or compute.

Parámetros de entrada

  • viewstringenum

    The tab the card opens on: plans for upgrading, packs when the user asks to buy credits or compute. The user can switch tabs; a workspace that cannot buy packs sees only plans.

    planspacks
  • modelstring

    The model id of the refused generation (as passed to the generation tool), with reason plan_required or out_of_credits. The card then recommends only plans that can use it.

  • reasonstringenum

    Why the card is shown: out_of_credits after an insufficient-balance failure, plan_required when a model or feature needs a higher plan, upgrade otherwise.

    out_of_creditsplan_requiredupgrade

Parámetros de salida

Sin parámetros.

Swap videoKREA_MCP_SWAP_VIDEOAcción

Replace people, outfits, objects, or the setting in an existing video with up to 4 reference images, keeping its motion, timing, camera, and sound. Krea works out what each reference replaces, so pass a prompt only to state the user's own mapping or extra direction. The source video must be 4 to 29 seconds long for Standard and 4 to 15 seconds for Lite. Recast takes a 5 to 30 second source with no single shot over 15 seconds. A swap always runs async: the attached widget polls the job automatically, so do not call get_job unless the host does not render the widget. For media input URL fields, pass a Krea asset URL, a publicly accessible external URL, or an uploaded asset URL returned by get_upload_url. If generation fails because the user has insufficient balance, non-agent API-key connections need API credit: tell the user to add API credit at krea.ai before trying again; a plan upgrade does not replenish API credit. For OAuth connections and workspace-agent keys, use the workspace compute balance, not API credit: call show_plans_and_packs with reason "out_of_credits" (as the first tool call of your next reply, with no other tool call before it in that turn); it offers the recommended plan, the plans above it, and, on paid plans, compute packs. Tell the user to upgrade or buy compute before trying again. If the error has balance_visible false, admins of the user's organization manage the balance: do not call show_plans_and_packs; tell the user to ask an organization admin to add credits. If generation fails because the model requires a higher plan, call show_plans_and_packs with reason "plan_required" and that model id as model, the same way; the card recommends the lowest plan that unlocks it. Do not tell the user to switch workspaces and do not fall back to another model (for example a cheaper Seedance) on your own: offer the upgrade, and only use a different model or workspace if the user asks for it.

Parámetros de entrada

  • modelstringenum

    "seedance-2-5" (Standard, the default), "wan30" (Lite) or "minimax_h3max_recast" (Recast: swaps people only, one reference photo per new person from left to right).

    seedance-2-5wan30minimax_h3max_recast
  • promptstring

    Optional. Only what the user asked for, such as which reference replaces whom: "@Image2 replaces the man on the left". Omit it to let Krea decide.

  • referencesstring[]Obligatorio

    Reference images, in order: the first is @Image1, the second @Image2, and so on.

  • resolutionstringenum

    Standard and Lite render at 480p, 720p or 1080p. Recast renders at 768p or 1080p, and takes 720p as 768p.

    480p720p768p1080p
  • source_videostringObligatoriouri

    The video to swap subjects in.

Parámetros de salida

  • jobobject

    Krea generation job.

  • modestringenum

    Whether the call returned immediately (async), waited for completion (sync), or only quoted the cost (preflight)

    asyncsyncpreflight
  • errorstring

    Error results only: why the generation was rejected

  • modelstring

    Preflight only: the model that was quoted

  • job_idstring

    Unique job identifier

  • statusinteger

    Error results only: the HTTP status of the rejection

  • messagestring

    Sync only, when timedOut is true: what to do next. The job is still running and will be charged; poll it with get_job instead of submitting it again

  • categorystring

    Preflight only: the generation category

  • timedOutboolean

    Whether a sync call timed out before the job completed

  • completedboolean

    Whether the job reached a completed status

  • affordableboolean | null

    Preflight only: whether the available balance covers compute_units, or null when either is unknown

  • is_estimatedboolean | null

    Preflight only: true when compute_units is a historical average rather than an exact price

  • compute_unitsnumber | null

    Preflight only: compute units this generation is expected to cost, or null when the model is priced only after it runs

  • next_tool_callobject

    Sync only, when timedOut is true: the get_job call that returns this job

  • available_compute_unitsnumber | null

    Preflight only: compute units the workspace can spend right now, after in-flight jobs. Left out for an organization member who can't see the organization's balance

Tag filesKREA_MCP_TAG_FILESAcción

Transactionally add or remove exact tags across Krea Files.

Parámetros de entrada

  • addstring[]Obligatorio
  • urisstring[]Obligatorio
  • removestring[]Obligatorio

Parámetros de salida

Sin parámetros.

Update moodboardKREA_MCP_UPDATE_MOODBOARDAcción

Rename an existing moodboard owned by the current user.

Parámetros de entrada

  • idstringObligatorio

    Moodboard ID to rename

  • namestringObligatorio

    New moodboard name

Parámetros de salida

Sin parámetros.

Update node workflowKREA_MCP_UPDATE_NODE_WORKFLOWAcción

Edit an existing Krea Nodes workflow in place: add nodes, change parameters or models, rename, wire or unwire handles, move, resize, delete, or group nodes into sections. Reference existing nodes by the system ids from read_node_workflow and new nodes by the placeholder id you gave them in the same batch. The whole batch is rejected if any operation is invalid, with every problem listed.

Parámetros de entrada

  • namestring

    Rename the workflow.

  • workflowstringObligatorio

    The workflow to work on: its id, its /nodes/<id> path, or the full link.

  • operationsarrayObligatorio

    Applied in order. Create nodes before connecting them.

Parámetros de salida

Sin parámetros.

Update styleKREA_MCP_UPDATE_STYLEAcción

Rename an existing style/LoRA owned by the current user.

Parámetros de entrada

  • idstringObligatorio

    Style/LoRA ID to rename

  • titlestringObligatorio

    New style/LoRA title

Parámetros de salida

Sin parámetros.

Upload assetKREA_MCP_UPLOAD_ASSETAcción

Show the user a drag-and-drop upload widget so they can upload local files (images, video, audio, or 3D models) from their device to Krea. Call this when a generation or edit needs an input file the user has locally but no URL for — for example they say "edit this photo" or "use my logo" without attaching anything, or their chat client cannot attach files. Do NOT call this when the user already provided an asset URL or attached the file in chat. The widget uploads to Krea storage and the resulting asset URLs arrive as a user message; use those URLs as media input fields. After calling this tool, stop and wait for the user to upload instead of generating with placeholder URLs. Terminal and IDE agents such as Claude Code, Codex, and Cursor cannot display the upload widget, so no upload will arrive there: if you can read the local file and send HTTP requests, call get_upload_url and POST the file yourself; otherwise ask the user for a public URL or to attach the file.

Parámetros de entrada

  • messagestring

    Optional short note shown at the top of the upload widget telling the user what to upload, e.g. "Upload the product photo you want to edit".

Parámetros de salida

Sin parámetros.

Wait for agent sessionKREA_MCP_WAIT_FOR_AGENT_SESSIONAcción

Block up to timeoutSeconds (default 60, max 300) until the Agent turn finishes, then return the session view plus timedOut. Pass the runId from send_agent_message so an earlier turn's finished status is not mistaken for this one. Call again when timedOut is true, looping until finished is true. Only call this tool when the user explicitly asks to use the Krea Agent; never call it on your own initiative.

Parámetros de entrada

  • runIdstringuuid

    runId from send_agent_message, so a previous turn's finished status is not mistaken for this one

  • sessionIdstringObligatoriouuid

    Session id returned by send_agent_message

  • timeoutSecondsinteger

Parámetros de salida

  • urlstringObligatorio

    The session in the Krea app

  • textstringObligatorio

    Latest assistant message text

  • errorstring
  • mediaobject[]Obligatorio

    Media the session produced — the deliverables the agent presented, plus its other generations while a turn is running. Order is not significant. Each item is {jobId, mediaKind?} for a generation (fetch it with get_job), {url} for rehosted media, or {uri, name, mimeType} for a Krea file (read it with read_files)

  • runIdstring
  • statusstringObligatorioenum
    not_startedrunningcompletedfailedcancelled
  • finishedbooleanObligatorio

    True once status is completed, failed, or cancelled

  • threadIdstringObligatorio
  • timedOutbooleanObligatorio
  • sessionIdstringObligatorio
Write filesKREA_MCP_WRITE_FILESAcción

LEGACY: prefer write_files_inline (inline text) or write_files_upload (binary/large files via signed URL). Batch create Krea Files with optional exact tags. Pass content inline for text up to 200000 bytes. Omit content (or pass null) for a large or binary file: the item returns a signed uploadUrl instead — POST the raw file bytes as the whole request body within 15 minutes (curl --data-binary @file). Never send a multipart body (curl -F): the server rejects it with 415. Files have no size limit; over 20 MB, also pass the exact size_bytes to get a direct storage upload instead: PUT the bytes to uploadUrl (or each slice to multipart.partUrls, collecting the ETag response headers), echo the returned headers, then POST commitUrl (multipart: with a JSON body {"parts":[{"partNumber":1,"etag":"..."}]}) — the file does not exist until the commit succeeds.

Parámetros de entrada

  • filesobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Write files inlineKREA_MCP_WRITE_FILES_INLINEAcción

Batch write small text Krea Files with inline content and optional exact tags. Each item creates or overwrites: pass name (with optional parent_uri or scope) to create, or pass uri to overwrite that file. On overwrite an empty string truncates the file, existing tags are preserved unless replacement tags are supplied, and name renames. content is the file body, up to 200000 bytes. For binary or larger files use write_files_upload.

Parámetros de entrada

  • filesobject[]Obligatorio

Parámetros de salida

Sin parámetros.

Write files uploadKREA_MCP_WRITE_FILES_UPLOADAcción

Batch mint signed upload URLs for binary or large Krea Files. Each item creates or overwrites: pass name (with optional parent_uri or scope) to create, or pass uri to overwrite that file. The item returns an uploadUrl — send the raw file bytes as the whole request body within 15 minutes with the returned method (POST creates, PUT overwrites; curl --data-binary @file). Never send a multipart body (curl -F): the server rejects it with 415. Files have no size limit; over 20 MB also pass the exact size_bytes to get a direct storage grant instead: PUT the bytes to uploadUrl (or each slice to multipart.partUrls, collecting the ETag response headers), echo the returned headers, then POST commitUrl (multipart: with a JSON body {"parts":[{"partNumber":1,"etag":"..."}]}) — the write lands only when the commit succeeds. Tags cannot ride an upload: call tag_files with the uri after the upload lands.

Parámetros de entrada

  • filesobject[]Obligatorio

Parámetros de salida

Sin parámetros.