モデルに商品を持たせる

このComfyUIワークフローは、画像内のキャラクターの手に商品を自然に合成するために設計されています。ユーザー生成コンテンツ(UGC)として、商品をパーソナルな文脈で見せたい場合に最適です。LoadImageノードでキャラクター画像と商品画像をアップロードし、GeminiImage2Node(Gemini3 Pro Image Previewモデル搭載)で両画像を処理し、最適な統合を実現します。e20a7fb5-3d72-41c9-a78c-fdf287ec46ecノードでAI技術により商品を手に自然に配置。SaveImageノードで最終画像をエクスポートできます。マーケティングやSNS用の魅力的なビジュアル作成に役立ちます。

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

templates-subject_holding_product.app.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "モデルに商品を持たせる" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("templates-subject_holding_product.app_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("10", "image", asset); // LoadImage

const job = await client.run(wf);
await job.getOutputs("15")[0].toFile("output.png"); // SaveImage

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

FAQ

よくある質問

すべてのワークフローを見る
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates