/v1/modelsList enabled models
Returns the OpenAI-compatible model list available to your API key.
1curl "https://api.0-0.pro/v1/models" \2 -H "Authorization: Bearer $API_KEY"All public cURL request examples for the OpenAI-compatible API surface.
The examples below assume the Base URL includes /v1. Create an API key in the Console, then export it before running the requests.
1export BASE_URL="https://api.0-0.pro/v1"2export API_KEY="<YOUR_API_KEY>"/v1/modelsReturns the OpenAI-compatible model list available to your API key.
1curl "https://api.0-0.pro/v1/models" \2 -H "Authorization: Bearer $API_KEY"/v1/models/{model}Checks whether a single model is available for the current workspace and group.
1curl "https://api.0-0.pro/v1/models/gpt-5.5" \2 -H "Authorization: Bearer $API_KEY"/v1/chat/completionsOpenAI-compatible chat generation with normal and streaming responses.
1curl "https://api.0-0.pro/v1/chat/completions" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-5.5",6 "messages": [{"role":"user","content":"Hello"}]7 }'/v1/messagesPasses an Anthropic Messages request upstream while 0-0 records usage and latency.
1curl "https://api.0-0.pro/v1/messages?beta=true" \2 -H "x-api-key: $API_KEY" \3 -H "Content-Type: application/json" \4 -H "anthropic-version: 2023-06-01" \5 -d '{6 "model": "claude-sonnet-4-6",7 "max_tokens": 128,8 "messages": [{"role":"user","content":"Hello"}]9 }'/v1/responsesPasses a Responses API request upstream while 0-0 records usage and latency.
1curl "https://api.0-0.pro/v1/responses" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-5.5",6 "input": "Summarize request observability in one sentence."7 }'/v1/responses/compactPass-through endpoint for upstream context compaction flows.
1curl "https://api.0-0.pro/v1/responses/compact" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-5.5",6 "input": "Compress the previous conversation into durable context."7 }'/v1/images/generationsForwards an image generation request to the selected upstream model.
1curl "https://api.0-0.pro/v1/images/generations" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-image-2",6 "prompt": "A precise product render of a translucent API gateway cube",7 "size": "1024x1024",8 "n": 19 }'/v1/images/editsMultipart image editing request; JSON and multipart bodies are forwarded upstream.
1curl -X POST "https://api.0-0.pro/v1/images/edits" \2 -H "Authorization: Bearer $API_KEY" \3 -F model=gpt-image-2 \4 -F prompt="Make the product render brighter" \5 -F image=@input.png/v1/video/tasksStarts an asynchronous upstream video generation task.
1curl -X POST "https://api.0-0.pro/v1/video/tasks" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "seedance-2-0",6 "prompt": "A ginger cat sunbathes by a window, slow dolly-in, warm natural light, cinematic detail",7 "ratio": "16:9",8 "duration": 5,9 "resolution": "720p",10 "audio": false,11 "watermark": false,12 "seed": -113 }'/v1/video/tasks/{task_id}Polls a task until it succeeds, fails, or remains in progress.
1curl "https://api.0-0.pro/v1/video/tasks/video-task-id" \2 -H "Authorization: Bearer $API_KEY"/v1/asset-groupsCreates a reusable container for material assets.
1curl -X POST "https://api.0-0.pro/v1/asset-groups" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "platform": "JIMENG",6 "name": "Character references",7 "description": "Reusable first-frame assets",8 "project_name": "default"9 }'/v1/asset-groups/{group_id}Reads one asset group; pass the provider platform as a query parameter.
1curl "https://api.0-0.pro/v1/asset-groups/group-abcdef1234567890?platform=JIMENG" \2 -H "Authorization: Bearer $API_KEY"/v1/assetsUploads a public asset URL into an asset group for later video tasks.
1curl -X POST "https://api.0-0.pro/v1/assets" \2 -H "Authorization: Bearer $API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "platform": "JIMENG",6 "group_id": "group-abcdef1234567890",7 "url": "https://example.com/front.png",8 "asset_type": "Image",9 "name": "Character front view"10 }'/v1/assets/{asset_id}Polls an asset until it becomes Active or Failed.
1curl "https://api.0-0.pro/v1/assets/Asset-abcdef1234567890?platform=JIMENG" \2 -H "Authorization: Bearer $API_KEY"