Get Generated Asset
get_generated_assetRetrieve the stable image or video URL and metadata for an SVG App generation.
Use when metadata is needed. Creation tools and get_generation_status already return stable placeholder-backed URLs that can be embedded immediately.
Do not use this as the primary polling loop. If status is pending, call get_generation_status. Do not rely on MCP resources to discover final image URLs automatically.
Next tool to call: call remove_image_background when an image should be embedded over arbitrary UI backgrounds, then poll get_generation_status again. Otherwise use imageUrl, videoUrl, or assetUrl according to the client's asset policy; wait for completed status before downloading the final media. Animation videoUrl and assetUrl always resolve to the transparent WebM version, never the original opaque video.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"generationId": "<generationId>"
},
"name": "get_generated_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Optional workspace id or slug from list_workspaces. Defaults to the user's personal workspace. Use the same workspace for every call in a workflow, because generations, mascots, and palettes belong to one workspace. | |
| generationId | Yes | The generationId returned by create_mascot, generate_mascot_pose, create_mascot_animation, generate_composition, create_generation, vectorize_image, or remove_image_background. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Use imageUrl only when status is completed. If pending, call get_generation_status again later. | |
| assetUrl | No | The stable asset URL, matching imageUrl for image generations and videoUrl for animation generations. | |
| canvasId | No | Canvas id to pass to remove_image_background if needed. | |
| imageUrl | No | The stable image URL to download, copy into the local project, or embed when remote URLs are acceptable. It may serve a placeholder until completion. | |
| mimeType | No | MIME type for the completed asset when known. Animations are returned as transparent video/webm assets. | |
| videoUrl | No | The stable animation video URL to download, copy into the local project, or embed when remote URLs are acceptable. It may serve a placeholder until completion. | |
| nextAction | Yes | The exact next MCP action the model/client should take if the asset is not ready. | |
| animationId | No | Video generation id for completed animation generations. | |
| resourceUri | No | MCP resource URI for optional resource reads. | |
| generationId | Yes | The generation id that was requested. |