curl --request GET \
--url https://api.geekidea.ai/v1/models/{author}/{slug}import requests
url = "https://api.geekidea.ai/v1/models/{author}/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.geekidea.ai/v1/models/{author}/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "bytedance/seedance-2.5",
"object": "model",
"created": 123,
"owned_by": "bytedance",
"name": "Seedance 2.5",
"description": "<string>",
"type": "video",
"aliases": [
"<string>"
],
"modalities": {
"input": [
"text",
"image"
],
"output": [
"video"
]
},
"capabilities": [
"<string>"
],
"context_length": 123,
"pricing": {
"currency": "USD",
"input": 0.1,
"cached_input": 0.01,
"output": 0.5,
"image": 0.04,
"image_per_spec": {
"low": 0.01,
"high": 0.15
},
"second": 0.12,
"second_per_spec": {
"720p|audio": 0.12,
"720p|silent": 0.08
},
"video_tokens": 7,
"video_tokens_per_spec": {
"720p|audio": 7,
"1080p|audio": 7.7
},
"video_tokens_video_input_per_spec": {
"720p|audio": 4.3
}
},
"generation_config": {}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}Retrieve model
Look up a model by ID (author/model) or alias.
curl --request GET \
--url https://api.geekidea.ai/v1/models/{author}/{slug}import requests
url = "https://api.geekidea.ai/v1/models/{author}/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.geekidea.ai/v1/models/{author}/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "bytedance/seedance-2.5",
"object": "model",
"created": 123,
"owned_by": "bytedance",
"name": "Seedance 2.5",
"description": "<string>",
"type": "video",
"aliases": [
"<string>"
],
"modalities": {
"input": [
"text",
"image"
],
"output": [
"video"
]
},
"capabilities": [
"<string>"
],
"context_length": 123,
"pricing": {
"currency": "USD",
"input": 0.1,
"cached_input": 0.01,
"output": 0.5,
"image": 0.04,
"image_per_spec": {
"low": 0.01,
"high": 0.15
},
"second": 0.12,
"second_per_spec": {
"720p|audio": 0.12,
"720p|silent": 0.08
},
"video_tokens": 7,
"video_tokens_per_spec": {
"720p|audio": 7,
"1080p|audio": 7.7
},
"video_tokens_video_input_per_spec": {
"720p|audio": 4.3
}
},
"generation_config": {}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}{
"error": {
"message": "The model does not exist or you do not have access to it.",
"type": "not_found_error",
"param": "model",
"code": "model_not_found",
"retryable": false,
"errors": [
{
"param": "messages",
"code": "missing_parameter",
"message": "<string>"
}
]
}
}Response
OK
Model (OpenAI format + GEEKIDEA extensions)
Model ID (author/model)
"bytedance/seedance-2.5"
Always model
"model"
Creation time (Unix seconds)
Model author (the maker, not the upstream channel)
"bytedance"
Name (in the request language)
"Seedance 2.5"
Description (in the request language)
Type: text / image / video / audio
text, image, video, audio "video"
Aliases
Aliases
Input and output modalities
Show child attributes
Show child attributes
Capabilities, e.g. text_to_video, image_to_video, first_frame
Capabilities, e.g. text_to_video, image_to_video, first_frame
Context length (text models)
Sale price for the caller's organization; only the units this model uses
Show child attributes
Show child attributes
Supported platform parameters and their schema; generation_config in requests must conform to it
Show child attributes
Show child attributes
