curl --request POST \ --url https://api.poyo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "flux-2-pro", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "The jar in image 1 is filled with capsules exactly same as image 2 with the exact logo", "size": "1:1", "resolution": "1K" }}'
FLUX.2 API 用于生成或编辑图像。Pro 模型面向高保真的生产级输出,Flex 模型可在速度与质量之间权衡。编辑最多支持 8 张参考图,输出最高 2K。
POST
/
api
/
generate
/
submit
curl --request POST \ --url https://api.poyo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "flux-2-pro", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "The jar in image 1 is filled with capsules exactly same as image 2 with the exact logo", "size": "1:1", "resolution": "1K" }}'