302.AIのAPIは、クラウドGPU上に自社で展開したモデルから来ています。一部のモデルはオープンソースで、一部は自社で微調整または開発したものです。 Request
Body Params multipart/form-data
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/sdxl' \
--header 'Authorization: Bearer ' \
--form 'width="1024"' \
--form 'height="1024"' \
--form 'prompt="a dog"' \
--form 'negative_prompt=""'
Responses
application/json {
"completed_at": "2026-01-12T10:36:52.325639476Z",
"created_at": "2026-01-12T10:36:45.637Z",
"error": "",
"id": "17682142058590",
"model": "sdxl",
"output": "[\"https://file.302.ai/gpt/imgs/20260112/0a5fd6b83e86fd357f2b34720f0a6472.png\"]",
"started_at": "2026-01-12T10:36:45.672943182Z",
"status": "succeeded"
}
Modified at 2026-01-12 10:39:40