List all models (every kind)
Returns the full catalogue across every model kind — text completion, image generation, video generation, avatar video, text-to-speech, speech-to-text, and embeddings — each annotated with its kind so a client (or AI agent) can decide which endpoint to call.
Unlike GET /v2/models (OpenAI-compatible, text-completion only), this includes media models. The id field is the value to pass as the model parameter on the corresponding endpoint.
GET
https://api.deutschlandgpt.de/v2/models/allExample request
curl https://api.deutschlandgpt.de/v2/models/all \
-X GET \
-H "Authorization: Bearer $DGPT_API_KEY"curl https://api.deutschlandgpt.de/v2/models/all \
-X GET \
-H "Authorization: Bearer $DGPT_API_KEY"import os, requests
response = requests.get(
"https://api.deutschlandgpt.de/v2/models/all",
headers={"Authorization": f"Bearer {os.environ['DGPT_API_KEY']}"},
)
print(response.json())import os, requests
response = requests.get(
"https://api.deutschlandgpt.de/v2/models/all",
headers={"Authorization": f"Bearer {os.environ['DGPT_API_KEY']}"},
)
print(response.json())const response = await fetch('https://api.deutschlandgpt.de/v2/models/all', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.DGPT_API_KEY}`,
},
});
console.log(await response.json());const response = await fetch('https://api.deutschlandgpt.de/v2/models/all', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.DGPT_API_KEY}`,
},
});
console.log(await response.json());Response
200application/json
{
"object": "list",
"data": [
{
"id": "flux-dev",
"object": "model",
"kind": "textCompletion",
"display_name": "string",
"provider": "string",
"host_region": "germany",
"recommended": true,
"description": "string",
"owned_by": "dgpt"
}
]
}{
"object": "list",
"data": [
{
"id": "flux-dev",
"object": "model",
"kind": "textCompletion",
"display_name": "string",
"provider": "string",
"host_region": "germany",
"recommended": true,
"description": "string",
"owned_by": "dgpt"
}
]
}List of all available models.
objectstringdataobject[]idstringPass this as the model parameter.
objectstringkindstringWhich endpoint family this model belongs to.
display_namestringproviderstringModel developer (e.g. black-forest-labs, elevenlabs, heygen).
host_regionstringrecommendedbooleandescriptionstring | nullowned_bystringResponse codes
200
List of all available models.
object403
Forbidden
Was this page helpful?