Skip to main content
AI

Models

The Models page is the normalized entry point for the selected UniAll model documentation. It groups pages by capability instead of preserving the original Apifox menu order.

Use the model-list endpoint when you need to discover the models available to the current API key at runtime.

Capability Categories

CategoryPagesTypical endpoint
Image GenerationAsync Image Generation, Seedream, GPT-Image-2, Nano SeriesPOST /v1/images/tasks or POST /v1/images/generations
Video GenerationHappy-Horse, Seedance 2.0, Grok Imagine, Veo 3.1, Vidu, Kling, Wan 2.6, Sora 2POST /v1/video/generations or POST /v1/videos
Audio and MusicMusic Generation, Speech SynthesisModel-specific audio endpoints
Digital HumansDigital Human VideoModel-specific avatar video endpoint

Model List Endpoint

GET /v1/models

The endpoint returns the current model list. UniAll can return compatibility-specific formats based on request headers:

Request styleDetection ruleResponse style
OpenAI compatibleDefault request styleOpenAI model list
Anthropic compatibleIncludes both x-api-key and anthropic-versionAnthropic-style model list
Gemini compatibleIncludes x-goog-api-key header or key query parameterGemini-style model list

For this documentation scope, the normalized pages focus on the selected image, video, audio, and digital-human capabilities.

Required Headers

Authorization: Bearer sk-***

Compatibility-specific clients may use their native authentication headers when documented by the client format.

Request Example

curl "{BASE_URL}/v1/models" \
-H "Authorization: Bearer sk-***"

Response Example

{
"object": "list",
"data": [
{
"id": "grok-imagine",
"object": "model",
"created": 0,
"owned_by": "uniall"
},
{
"id": "gpt-image-2",
"object": "model",
"created": 0,
"owned_by": "uniall"
}
]
}

Response Fields

FieldTypeDescription
objectstringList object marker.
dataarrayAvailable model records.
data[].idstringModel ID to use in API requests.
data[].objectstringObject type for the model record.
data[].creatednumberCreation timestamp if available. Some compatibility responses may use 0.
data[].owned_bystringOwner or provider label.

Selection Guidance

  • Use Async Image Generation when the task is image generation or image editing through a polling flow.
  • Use Grok Imagine Video Generation when the model ID is grok-imagine.
  • Use the capability-specific page for provider-specific fields, billing notes, and task lifecycle details.
  • Treat /v1/models as runtime discovery. Do not use it as the only source of integration rules.

Common Errors

HTTP statusMeaning
401Missing or invalid authentication.
403The current API key is disabled or not allowed to access the model list.