Returns the metadata of a model identified by its slug: exposed endpoints, name of the input multipart field (audio or image), optional boolean fields, accepted file extensions and pricing. Public endpoint — no API key required. 404 "Model not found." if the slug does not exist.
/models/{model_slug}
Request body
The following parameters can be included in the request body:
Parameters
model_slug
Kebab-case slug of the model (e.g. alpha-audio-v1, alpha-digit-max, alpha-digit-medium).
Successful response
The following fields are returned in a successful response:
Response fields
model_slug
Model selection
type
Capability type: "audio" or "ocr".
display_name
Commercial name of the model.
version
Model version (may be null).
description
Short description of the model.
endpoints
List of HTTP routes exposed for this model (method + path).
input_field_name
Exact name of the expected multipart file field (e.g. "audio" or "image").
optional_fields
List of optional boolean fields accepted in the multipart.
accepted_extensions
Accepted file extensions (without the dot).
pricing
Model pricing. Variable shape depending on type: {eur_per_hour, billing_unit, currency} for audio; {eur_per_1000_images, billing_unit, currency} for OCR.
Examples
Code examples for using this endpoint:
curl -X GET "https://api-endpoints.alphaedge-ai.com/models/alpha-audio-v1"
import requests
r = requests.get(
"https://api-endpoints.alphaedge-ai.com/models/alpha-audio-v1",
timeout=30,
)
print(r.status_code, r.json())
const res = await fetch(
"https://api-endpoints.alphaedge-ai.com/models/alpha-audio-v1"
);
console.log(res.status, await res.json());
Response
Sample API response:
{
"model_slug": "alpha-audio-v1",
"type": "audio",
"display_name": "AlphaAudio v1",
"version": "1.0",
"description": "ASR haute précision optimisé pour le français.",
"endpoints": [
"POST /models/alpha-audio-v1/transcript"
],
"input_field_name": "audio",
"optional_fields": ["enable_diarization", "enable_postcorrect"],
"accepted_extensions": ["mp3", "m4a", "wav", "flac", "ogg", "opus", "webm", "wma", "aiff", "aac", "aif"],
"pricing": {
"eur_per_hour": 0.15,
"billing_unit": "audio_duration_seconds",
"currency": "EUR"
}
}