Some OpenAI models only support the Response format, such as o3-pro, codex-mini-latestSupports custom models, Price: 0.05 PTC/day Request
Body Params application/json
{
"model": "codex-mini-latest",
"input": [
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn."
}
]
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/v1/responses' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "codex-mini-latest",
"input": [
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn."
}
]
}'
Modified at 2025-06-16 03:37:53