Use this skill for GPT Image 2 jobs on PoYo. It covers text-to-image generation, reference-image-guided generation, and multi-image editing payloads for gpt-image-2 and gpt-image-2-edit.
GPT Image 2, gpt-image-2, or gpt-image-2-edit.1K / 2K / 4K resolution control.gpt-image-2: text-to-image generation and optional reference-image-guided generation.gpt-image-2-edit: editing based on one or more reference images and a text instruction; requires image_urls.prompt is required inside input and is limited to 4000 characters.image_urls is required for gpt-image-2-edit and supports multiple input images.size supports auto, 1:1, 2:3, 3:2, 4:3, 3:4, 4:5, 5:4, 16:9, 9:16, 21:9, or custom WIDTHxHEIGHT.resolution supports 1K, 2K, and 4K.WIDTHxHEIGHT sizes require resolution to be 2K or 4K.auto size or omitted size always uses 1K resolution.references/api.md for endpoint details, model ids, key fields, example payloads, resolution notes, and polling notes.scripts/submit_gpt_image_2.sh to submit a raw JSON payload from the shell.references/api.md instead of rewriting from scratch.task_id clearly so follow-up polling is easy.When helping with this model family, include:
size and resolutiontask_id if a request was actually submitted共 1 个版本