{"id":118840,"plugin_id":"plugin_asdk_app_6af6c84bf2f08191856f261dafd4f752","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T13:55:24.217Z","digest":"d4161af5150c8e8146faa7a8267fa53dc494103dcf0e13f7801e58d5b6fdc06b","against":null,"payload":{"description":"Generate images or videos in OnSolo from a prompt, reference images, or a file the user attached, and return the finished result. Use when the user asks to create, generate, draw, render or animate an image or video with OnSolo.","included_files":[],"name":"create-images-and-videos","skill_md_contents":"---\nname: create-images-and-videos\ndescription: Generate images or videos in OnSolo from a prompt, reference images, or a file the user attached, and return the finished result. Use when the user asks to create, generate, draw, render or animate an image or video with OnSolo.\n---\n\n# Create images and videos\n\n## Steps\n\n1. **Collect input.** Make sure you know what to generate. Ask one short question only if the subject is missing; otherwise use sensible defaults.\n2. **Resolve reference assets.** For each image, video or audio attachment the user wants to use, call `asset_manage` with `action: \"import\"` and the ChatGPT-provided attachment reference as `file`. OnSolo accepts attachment downloads from approved OpenAI upload domains. Use the returned `asset.asset_id`. For an existing OnSolo asset, use `asset_manage` `search` or `get` and check that it is ready. If the user pasted a link or the attachment source is rejected, ask them to upload the file directly to the conversation.\n3. **Pick a model.**\n   - Images: call `generate_image_models`.\n   - Videos: call `generate_video_models` with the right `mode`:\n     - `text`: from a prompt (optionally one `image_asset_id` as a guide);\n     - `first_last_frame`: animate from `first_frame_asset_id` (optional `last_frame_asset_id`);\n     - `multi_reference`: several `reference_assets` (each with `asset_id` and `type`).\n   - Choose a model whose aspect ratios, resolutions, durations and reference limits fit the request. For images, pass references as `reference_assets` entries with `asset_id` and `type: \"image\"`. Video `duration` is required in seconds. If the user left it open, choose a supported duration that fits the brief. When specifying `resolution`, pass the numeric `resolutions[].value` from the model list.\n4. **Submit once.** Call `generate_image` or `generate_video`.\n   - This **consumes credits**. If the user asks for many variations or a large batch, confirm before submitting.\n   - Set an `idempotency_key` (8-64 letters, digits, `_` or `-`) and reuse the same key if you must retry after a network error, so the user is not charged twice.\n   - Pass `canvas_id` only if the user asked for placement. For a shared canvas, resolve its workspace and confirm the target with a read when needed. Follow [Manage team workspaces](../manage-team-workspaces/SKILL.md) if placement is unavailable.\n   - If the response has `placement_error`, keep the returned `task_ids`. The generation was submitted and charged. When it succeeds, use `free_canvas_manage` `build_draft` for placement if editing is available, or give the user the finished asset and the canvas link for placement in OnSolo.\n   - If the outcome is unknown and the same key reports an uncertain result, check existing tasks or assets before considering any new submission. Treat a new key as a new chargeable request.\n5. **Wait for the result.** Poll `generate_task` with the returned `task_ids`, up to 20 IDs per call. `queued` and `running` are in progress. `succeeded` and `failed` are final. A per-task `error` without `status` is a lookup error. Retry a temporary lookup error without resubmitting generation. Space out checks and follow `retry_after` when supplied.\n6. **Show the result.** Present each produced asset with its preview link. Asset links expire; if one is missing or expired, refresh it with `asset_manage` `action: \"get\"`.\n\n## Rules\n\n- Do not invent results or assets. Only report what `generate_task` returned.\n- If a task fails, report the error and offer to try again with a change; do not retry automatically.\n- Write the generation `prompt` in clear, descriptive language; keep the user's intent and do not add unrelated content.\n- The user's explicit instructions override this skill.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}