Ming Image 0.1
Generate images with Ming Image 0.1, and compare every CFG, steps, sampler and scheduler on one prompt.
تنزيل سير العملجرّبه في Cloud وثائق API
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 JSONوثائق API ↗
# 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({
"75": {
"class_type": "ResolutionSelector",
"inputs": {
"aspect_ratio": "16:9 (Widescreen)",
"megapixels": 1,
"multiple": 8,
"preview": ""
},
"_meta": {
"title": "Resolution Selector"
}
},
"90": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 1
},
"_meta": {
"title": "CFG (sweep)"
}
},
"91": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 12
},
"_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": [
"606",
0
],
"negative": [
"95",
0
],
"positive": [
"604",
0
]
},
"_meta": {
"title": "CFG Guider (added; template uses Basic Guider)"
}
},
"95": {
"class_type": "ConditioningZeroOut",
"inputs": {
"conditioning": [
"604",
0
]
},
"_meta": {
"title": "Empty negative (added for CFG sweep)"
}
},
"100": {
"class_type": "BasicScheduler",
"inputs": {
"denoise": 1,
"model": [
"606",
0
],
"scheduler": "simple",
"steps": [
"91",
0
]
},
"_meta": {
"title": "Scheduler simple"
}
},
"200": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"93",
0
],
"latent_image": [
"605",
0
],
"noise": [
"603",
0
],
"sampler": [
"92",
0
],
"sigmas": [
"100",
0
]
},
"_meta": {
"title": "Sample simple"
}
},
"400": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"200",
0
],
"vae": [
"601",
0
]
},
"_meta": {
"title": "Decode simple"
}
},
"599": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ming_strip",
"images": [
"400",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"600": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "ming_image_0.1_design_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"601": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "ming_image_vae_bf16.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"602": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "ming_image_0.1_ling_mini_2.0_int8_convrot.safetensors",
"device": "default",
"type": "qwen_image"
},
"_meta": {
"title": "Load CLIP"
}
},
"603": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
},
"_meta": {
"title": "RandomNoise"
}
},
"604": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"602",
0
],
"text": [
"611",
0
]
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"605": {
"class_type": "EmptyLatentImage",
"inputs": {
"batch_size": 1,
"height": [
"608",
0
],
"width": [
"607",
0
]
},
"_meta": {
"title": "Empty Latent Image"
}
},
"606": {
"class_type": "ModelSamplingFlux",
"inputs": {
"base_shift": 0.5,
"height": [
"608",
0
],
"max_shift": 1.15,
"model": [
"609",
0
],
"width": [
"607",
0
]
},
"_meta": {
"title": "ModelSamplingFlux"
}
},
"607": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"75",
0
]
},
"_meta": {
"title": "width"
}
},
"608": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"75",
1
]
},
"_meta": {
"title": "height"
}
},
"609": {
"class_type": "ModelAttentionBackend",
"inputs": {
"attention": "comfy kitchen attention",
"model": [
"600",
0
]
},
"_meta": {
"title": "Model Attention Backend"
}
},
"610": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Epic wide landscape photograph of a vast African savanna in the dry season at golden hour: endless golden grass plains dotted with flat-topped acacia trees, a massive snow-capped volcano rising above the haze on the horizon, dust glowing in warm low sunlight, a scattered herd of elephants tiny in the distance for scale, immense scale, ultra-detailed, large format landscape photography, no text."
},
"_meta": {
"title": "Text (User Input)"
}
},
"611": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"610",
0
]
},
"_meta": {
"title": "Preview as Text"
}
}
})
# 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 - أساسيات Diffusion
- 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 Krea Dev
Flux.1 Krea Dev
- Flux.1, Flux
Flux.1 Schnell FP8
- Flux, Flux.1
Flux.1 للمطورين فقط: نص إلى صورة
- Flux, Flux.2 Klein
FLUX.2 [Klein] 4B: نص إلى صورة
- Flux, Flux.2 Klein
FLUX.2 [Klein] 9B: نص إلى صورة