讓模特手持產品

本 ComfyUI 工作流程可將產品自然整合到角色手中,適合製作個人化用戶生成內容(UGC),讓產品在真實情境中呈現。流程結合多個關鍵節點與模型。首先用 LoadImage 節點上傳角色與產品圖。GeminiImage2Node(採用 Gemini3 Pro Image Preview 模型)處理圖像,確保整合效果與相容性。此節點對維持最終圖像的真實感與視覺一致性至關重要。流程還包含 e20a7fb5-3d72-41c9-a78c-fdf287ec46ec 節點,運用先進 AI 技術將產品精確放置於角色手中。最後,SaveImage 節點可匯出最終圖像,方便用於行銷或社群媒體。此流程特別適合企業與行銷人員,快速製作吸睛且具情境感的產品視覺內容。

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.

常見問題

常見問題

查看所有工作流
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