Back to Tool Reference
MCP

design.generate

Start generating a design on a catalog product and save it to the account.

EffectwritesReachesoutside VaybelScopedesign:writePlanStarter+Credits5Rate limit10/minIdempotent

The call returns a handle at once. Poll design.get_generation with it until done is true, then read the saved design, its images and its app link with design.get. A new design is saved; no listing is published and no order is placed. The design is charged when it completes, so a failed generation costs nothing.

Parameters

product_uuidstringRequired

UUID of the catalog product to design on, from catalog.list_blanks.

promptstringRequired

Free-text design brief passed to the AI Design Generator.

variant_group_uuidstring

Optional UUID of the colorway (variant group) to design on. Omit to use a default colorway.

trend_match_uuidstring

Optional keyword id, not a named trend id. For a named trend, call trend.get and choose a keywords[].id matching the selected product type. Alternatively use an id from trend.list_keywords. Pass it when the design comes from a trend or design ideas, so listings retain the real search-demand link. Never pass the top-level id from trend.list or trend.get.

idempotency_keystring

Send the same key when retrying this exact call. A completed request replays for 24 hours without running or billing again.

callback_urlstring

An https URL that receives a signed completion event when the work finishes, so you can skip polling. See Webhooks.

Returns

handlestring

Opaque async handle. Pass to design.get_generation.

status"pending"
messagestring

Describes the design.get_generation(..., wait_sec=...) contract.

Request
json
{
  "name": "design.generate",
  "arguments": {
    "product_uuid": "0f6b2c1e-8a52-4d0e-9c1f-2f7a5b9d4e10",
    "prompt": "Retro sunset over palm trees, bold serif lettering"
  }
}
Response
json
{
  "handle": "29e217c5-624f-4775-9467-ce9433aeda4f",
  "status": "pending",
  "message": "Design generation queued. Call design.get_generation(handle, wait_sec=0) for an instant snapshot, or set wait_sec>0 to long-poll until completion or timeout."
}