1.0 KiB
1.0 KiB
KIE GPT Image 2 (Text-to-Image)
Generate an image from a text prompt using KIE's GPT Image 2 text-to-image endpoint.
Provider model: gpt-image-2-text-to-image
Source docs: https://docs.kie.ai/market/gpt/gpt-image-2-text-to-image
Inputs
-
Prompt
Required text prompt. Maximum length: 20,000 characters. -
Aspect Ratio
auto,1:1,9:16,16:9,4:3, or3:4. -
Resolution
1K,2K, or4K. -
Log
Enable progress output in the console.
Outputs
- IMAGE
ComfyUI image tensor (BHWC, float32, range 0-1).
Validation Notes
autoaspect ratio is only valid with1Kresolution.1:1aspect ratio is not valid with4Kresolution.- The node omits callback/webhook UI and uses the shared async polling flow.
Payload Shape
{
"model": "gpt-image-2-text-to-image",
"input": {
"prompt": "A cinematic night city poster with neon reflections on a rainy street.",
"aspect_ratio": "auto",
"resolution": "1K"
}
}