Request
Body Params application/json
{
"prompt": "一只法国斗牛犬",
"use_thought": false
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/bagel' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "一只法国斗牛犬",
"use_thought": false
}'
Responses
application/json {
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260113/8f8bc3ff2d22511383ce8aabb0680a07.jpg",
"content_type": "image/jpeg",
"file_size": 0,
"width": 1024,
"height": 1024
}
],
"seed": 2498242517,
"has_nsfw_concepts": [
false
],
"debug_latents": null,
"debug_per_pass_latents": null
}
Modified at 2026-01-13 07:54:10