curl --request GET \
--url https://api.electronhub.ai/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "<string>",
"tokens": 123,
"pricing": {
"input": 123,
"output": 123
},
"endpoints": [
"<string>"
],
"premium_model": true,
"voices": [
"<string>"
],
"sizes": [
"<string>"
],
"qualities": [
"<string>"
],
"tags": [
"<string>"
],
"styles": [
"<string>"
],
"metadata": {}
}
]
}List all available models
curl --request GET \
--url https://api.electronhub.ai/v1/models \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"object": "model",
"created": 123,
"owned_by": "<string>",
"tokens": 123,
"pricing": {
"input": 123,
"output": 123
},
"endpoints": [
"<string>"
],
"premium_model": true,
"voices": [
"<string>"
],
"sizes": [
"<string>"
],
"qualities": [
"<string>"
],
"tags": [
"<string>"
],
"styles": [
"<string>"
],
"metadata": {}
}
]
}{
"object": "list",
"data": [
{
"id": "gpt-4o",
"object": "model",
"owned_by": "openai"
},
{
"id": "claude-3-5-sonnet-20241022",
"object": "model",
"owned_by": "anthropic"
},
{
"id": "gemini-pro",
"object": "model",
"owned_by": "google"
}
]
}
Enter your API key (starts with 'ek-')
Success
"list"
Show child attributes
Human-readable model name
Model description
Model identifier
"model"
Creation timestamp
Organization that owns the model
Context length of the model (maximum combined input and output tokens)
Supported API endpoints
Whether this is a premium model
Available voices for text-to-speech models
Available image sizes for image generation models
Available quality levels for image generation models
Available tags for music generation models
Available styles for video generation models
Additional metadata for chat completion models