Quick Start Guide
From zero to your first API call in 5 minutes.
Create an Account
Sign up at cloudigo.ai and verify your email. Free tokens are automatically added to your account.
Generate an API Key
Go to the API Keys section in your dashboard and generate a new key. Set spending limits as needed.
Make Your First Request
Use the code examples below to make your first API call. We are fully compatible with the OpenAI SDK.
Monitor and Scale
Track usage in real time on your dashboard. Set up alerts and scale as your needs grow.
Model Integration
Cloudigo supports multiple mainstream API formats. Choose the calling method for your model type and replace the model name and API key in the examples with your own values.
All requests use https://cloudigo.ai/api/v1 as the base URL. Authenticate with Authorization: Bearer followed by your API key (Anthropic format uses the x-api-key header).
Text Generation
For chat and completion models. OpenAI format supports Chat Completions, Responses, and Messages endpoints. Anthropic format uses the Messages endpoint.
curl -sS "https://cloudigo.ai/api/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-cldg-your-api-key" \
-d '{"model":"claude-3.5-sonnet","messages":[{"role":"user","content":"Hello!"}]}'Video Generation
For video models. The flow is: create a generation task → poll task status → retrieve the download URL.
# 1. Create a video generation task
curl -sS -X POST "https://your-domain.com/api/v1/videos" \
-H "Authorization: Bearer sk-cldg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-1-lite",
"prompt": "A warm and tender scene of a girl gently interacting with a lion outdoors",
"ratio": "16:9",
"duration": 4,
"resolution": "720p",
"content": [
{
"type": "text",
"text": "Replace the cat in [Video1] with the lion from [Image1]. The lion lies on its side across the girl’s legs, gently interacting with her in a warm and tender way."
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/reference_image.jpg"
},
"role": "reference_image"
},
{
"type": "video_url",
"video_url": {
"url": "https://example.com/reference_video.mp4"
},
"role": "reference_video"
}
],
"generate_audio": true,
"watermark": true
}'
# 2. Poll task status (returns download URL when completed)
curl -sS "https://your-domain.com/api/v1/videos/${VIDEO_ID}" \
-H "Authorization: Bearer sk-cldg-your-api-key"