cURL
curl --request GET \ --url https://llm.ai-nebula.com/nebula/v4/api/anyShootQuery \ --header 'Authorization: <authorization>'
{ "code": 200, "msg": "操作成功", "data": { "status": "SUCCESS", "result": { "taskId": "task-1234567890", "images": [ "https://example.com/image1.jpg", "https://example.com/image2.jpg" ] } } }
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...
https://docs.openai-nebula.com/cn/nebula-lab-v4/endpoint/get-token
curl -X GET "https://llm.ai-nebula.com/nebula/v4/api/anyShootQuery?taskId=task-1234567890" \ -H "Authorization: Bearer sk-xxxxxxxxxx"
import requests url = "https://llm.ai-nebula.com/nebula/v4/api/anyShootQuery" headers = { "Authorization": "Bearer sk-xxxxxxxxxx" } params = { "taskId": "task-1234567890" } response = requests.get(url, headers=headers, params=params) print(response.json())