GPTS Gizmo API
The GPTS Gizmo API allows users to automate ChatGPT's thousands of GPTs with standard OPENAI completions api call.
Only public gpts can be used in this endpoint.
File upload/download and 3rd party authorization is not available for this api.
Only public gpts can be used in this endpoint.
File upload/download and 3rd party authorization is not available for this api.
Pricing
The GPTS Gizmo API has a token based pricing with minimum charges, see pricing details.
How to get Gizmo model name
Go to ChatGPT official website, explore the GPTs and enter chat with the GPT of your choice, you will see webpage address like https://chatgpt.com/g/g-gFt1ghYJl-logo-creator (opens in a new tab). Then the model name you should use is gpt-4-gizmo-g-gFt1ghYJl
.
GPTS GIZMO API
Request Example (cURL)
curl --location --request POST 'https://api.goapi.ai/v1/chat/completions' --header 'Content-Type: application/json' --header 'Authorization: Bearer YOUR_API_KEY' --data-raw '{
"model": "gpt-4-gizmo-g-pmuQfob8d",
"messages": [
{
"role": "user",
"content": "red hair girl"
}
]
}'
Response Example
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "{
"size": "1024x1024",
"prompt": "A girl with long, flowing red hair. She has vibrant red locks cascading down her back, with a few strands blowing gently in the wind. Her hair is rich and shiny, contrasting beautifully against her pale skin. The background is simple, focusing on her radiant hair, and her expression is serene, with soft natural lighting highlighting her face."
}![image](https://files.oaiusercontent.com/file-12345-4753-8ba0-8c24a9439564.webp)
Here is the image of a girl with long, flowing red hair. Let me know if you'd like to adjust any details!",
"role": "assistant"
}
}
],
"created": 1726205460,
"id": "chatcmpl-1726205460587259321",
"model": "gpt-4-gizmo-g-pmuQfob8d",
"object": "chat.completion",
"usage": {
"completion_tokens": 277,
"prompt_tokens": 8,
"total_tokens": 285
}
}