MOSS-Image
Generate images with MOSS-Image, and compare every CFG, steps, sampler and scheduler on one prompt.
Loading the grid…
Explore more grids
Your output will appear here.
工作流程內部
來源範本的唯讀預覽。請在 Cloud 中開啟,以探索節點並進行變更。
Loading the graph
Open full-size workflow preview- Comfy Cloud
- 是
- 輸出
- 圖片
- 作者
- 作者無法使用
從您的程式碼呼叫此模型
以下請求使用與 Playground 相同的已準備節點圖和設定。每次提交都可能啟動付費執行;若提交結果不明,請勿自動重試提交。
1 取得 API 金鑰 ↗
What you need
- Runs on
- Comfy Cloud
- 金鑰
- COMFY_API_KEY
需要付費 Cloud 方案與點數。
下載 API JSONAPI 文件 ↗
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "moss_image_sft_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"2": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
"device": "default",
"type": "moss_image"
},
"_meta": {
"title": "Load CLIP"
}
},
"3": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "flux2-vae_small.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"4": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"2",
0
],
"text": "Epic wide landscape photograph of a sprawling tropical karst landscape in spring rain: hundreds of steep limestone towers covered in lush green vegetation rising out of morning mist, a wide jade river winding between flooded rice terraces, soft diffused light breaking through low clouds, immense scale and depth, ultra-detailed, large format landscape photography, no people, no text."
},
"_meta": {
"title": "Positive Prompt"
}
},
"5": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"2",
0
],
"text": "nsfw, worst quality, bad anatomy, watermark, jpeg artifact"
},
"_meta": {
"title": "Negative Prompt"
}
},
"6": {
"class_type": "EmptyFlux2LatentImage",
"inputs": {
"batch_size": 1,
"height": 768,
"width": 1344
},
"_meta": {
"title": "Empty Flux 2 Latent"
}
},
"90": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 3
},
"_meta": {
"title": "CFG (sweep)"
}
},
"91": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 25
},
"_meta": {
"title": "Steps (sweep)"
}
},
"92": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
},
"_meta": {
"title": "Sampler (sweep)"
}
},
"93": {
"class_type": "CFGGuider",
"inputs": {
"cfg": [
"90",
0
],
"model": [
"1",
0
],
"negative": [
"5",
0
],
"positive": [
"4",
0
]
},
"_meta": {
"title": "CFG Guider"
}
},
"94": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
},
"_meta": {
"title": "Noise (seed 42)"
}
},
"100": {
"class_type": "BasicScheduler",
"inputs": {
"denoise": 1,
"model": [
"1",
0
],
"scheduler": "simple",
"steps": [
"91",
0
]
},
"_meta": {
"title": "Scheduler simple"
}
},
"200": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"93",
0
],
"latent_image": [
"6",
0
],
"noise": [
"94",
0
],
"sampler": [
"92",
0
],
"sigmas": [
"100",
0
]
},
"_meta": {
"title": "Sample simple"
}
},
"400": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"200",
0
],
"vae": [
"3",
0
]
},
"_meta": {
"title": "Decode simple"
}
},
"599": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "moss_strip",
"images": [
"400",
0
]
},
"_meta": {
"title": "Save Image"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("599"):
output.to_file(output.name)相關工作流程
- ZZ-Image-Turbo
1.1 入門-文字轉圖像
- ZZ-Image-Turbo
2.1 Creator-擴散基礎
- Nano Banana 2 Text-to-Image
3x3 Contact Sheet
- 合合作夥伴節點
AI on the Lot 2026 - Z-Image Turbo - t2i
- 合合作夥伴節點
Anima Base v1:文字轉圖像
- CChroma
Chroma1 Radiance 文生圖
- CChroma, Flux
Chroma: 文生圖
- Flux, Flux.1
Flux.1 [專業版]:文生圖
- Flux, Flux.1 Krea Dev
Flux.1 Krea Dev
- Flux.1, Flux
Flux.1 Schnell FP8
- Flux.1, Flux
Flux.1 Schnell Full: 文生圖
- Flux.1, Flux
Flux.1 開發專用 fp8: 文生圖