generate-3d
Installation
SKILL.md
Generate a 3D model
Run this on the hosted Comfy Cloud connector (https://cloud.comfy.org/mcp). The user signs in with that connector's OAuth flow. Use the signed-in account. There is no API key to collect in chat, and there is no local ComfyUI install to start.
The server's tool descriptions and the built-in generate-3d prompt own the arguments. The catalog of 3D templates and nodes moves, so discover it. Do not invent a model or node name.
What to do
- Image-to-3D is the common case. When the user supplies a reference image,
upload_fileit first and use the returned name as the image input in whichever route runs below (partner_generatemedia inputs, a template input, or a loader node). When the user names a 3D provider,search_nodesin the partner 3D category. Trypartner_generatewith the 3D type that tool documents and your best-guess model slug. Its description names providers, not model ids. When it succeeds, show its result and stop; do not run a template or graph after it. A wrong slug is rejected before the job is queued, and the error names the closest real slugs (Did you mean). Re-call once, and only when a suggestion keeps the provider prefix of the slug you guessed. If the bounce names aparams.modeltier, send that tier with the slug. A tier-shaped guess belongs inparams.model; re-calling the bare slug runs that entry's default tier at a different price. Say which slug you switched to. If that re-call bounces too, stop. If no suggestion keeps your guess's provider prefix, do not re-call — that call queues and charges — and ask which model to use. If the tool says "unknown model" with no close match, "not yet implemented", or that it does not serve 3D, continue with a template. That fall-through still runs on Comfy Cloud. If they asked to build a workflow, skip the shortcut and wire the partner node in. - Search
search_templatesfor image-to-3D or a broader 3D query, using the tool's tag filter when a text search is noisy. Clone a fit withget_template_schemaandrun_templatebefore hand-building. - If no template fits,
search_nodeswith typed filters for a 3D file or mesh output, a 3D category, and image input when they supplied a picture. Usesearch_modelsfor checkpoints those nodes require. - The graph needs the uploaded image (or a text prompt) and a 3D save or output node. Give every node a
_meta.title. - 3D jobs are often slower than images. Wait with
wait_for_job, thenget_output. Tell the user which files came back (mesh, texture, preview). In chat, share the returned links. When a download command exists and this session has a shell, run it unchanged. - When they asked for a workflow they can reopen,
save_workflowand returnget_workflow_canvas_url. Say the layout is auto-generated. - When they ask to adjust this result (seed, prompt wording, or a different reference image) rather than a new subject, do not rebuild the graph and do not re-send the JSON. Call
submit_workflowwithfrom_prompt_idset to the run being adjusted andinput_overridesholding only the changed inputs ({nodeId: {inputName: value}}). If you do not know the node id, callget_job_statuswithinclude_workflow: trueon that prompt id first. A new reference still goes throughupload_file; override the loader input with the returned name. If that result came frompartner_generate, there is no workflow to rerun: callpartner_generateagain with the changed fields. If they want this exact mesh edited (keep the mesh, change the texture) rather than the workflow's inputs changed, useuse_previous_outputorpartner_generatemedia inputs.
If a step fails, search again for a current alternative. Discovery does not spend generation credits. A generation needs an active Comfy Cloud subscription. If a run is refused, check get_billing_status and report what it says.