Authorization: Bearer ********************
{
"messages": [
{
"role": "user",
"content": "你好,请生成一个简单的Python程序"
}
],
"model": "gpt-4o-image",
"temperature": 0.7
}
curl --location --request POST 'https://asyncdata.net/tran/https://api.gptgod.online/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data-raw '{
"messages": [
{
"role": "user",
"content": "你好,请生成一个简单的Python程序"
}
],
"model": "gpt-4o-image",
"temperature": 0.7
}'
preview_url
在浏览器中查看格式化结果source_url
获取原始 JSON 数据id
通过其他 API 接口查询任务状态{
"id": "bb72fb2b-451c-4267-bb72-c5f01ed68971",
"source_url": "https://asyncdata.net/source/bb72fb2b-451c-4267-bb72-c5f01ed68971",
"preview_url": "https://asyncdata.net/web/bb72fb2b-451c-4267-bb72-c5f01ed68971"
}