sumitaich1998/jarvisvr / skills/media/create-image
create-image
VerifiedGenerate images from a text prompt and display them with prompt, status, and progress. Use for "make an image of…", "generate a picture of…", "imagine…", or visualizing a concept/mood. Triggers: generate image, make a picture, draw, imagine, create art, render an image, AI image, visualize this.
Create Image
Turn a prompt into one or more images shown in an image_gen_viewer, reflecting
the live generation lifecycle (queued → generating → done).
Steps
- Refine the prompt. Keep the user's intent; you may add concise style hints ("synthwave, high detail") but don't override their request.
- Spawn the viewer with
show_generated_imageinqueued/generatingstate and aprogressvalue. - Stream progress with
holo.updateas generation advances, then setstatus:"done"with the resultingimages. - Speak a short confirmation; offer variations or a save.
Output
image_gen_viewer (show_generated_image, props per registry.json):
While generating:
{ "widget_type": "image_gen_viewer",
"transform": { "anchor": "world", "billboard": true },
"props": { "prompt": "a neon city skyline at night, synthwave",
"status": "generating", "progress": 0.4, "model": "diffusion-xl" },
"interactions": ["tap","grab","resize","drag","dwell"] }
When done (holo.update):
{ "object_id": "O_imggen",
"props": { "status": "done", "progress": 1.0,
"images": [ { "url": "https://cdn.jarvisvr.app/gen/neon1.png", "seed": 42 } ] } }
agent.speech: { "text": "Here's your synthwave skyline.", "final": true }
Edge cases
- No provider / generation fails → set
status:"error"with anerrormessage; don't spawn fake image URLs. - Unsafe / disallowed prompt → decline briefly and offer a safe reframe.
- Multiple variations → return several
images; user tapsselect_image. - Use as cover art / texture → hand the URL to
control-media-playback(poster) or amodel_viewer/image_boardvia the stage. - Very slow gen → keep streaming
progress; let the user keep talking.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |