Enterprise AWS Chat + Image & Video Generation. 100% OpenAI SDK compatible.
https://vertex-key.com/api/v1vai-xxxxxxxxxx(get from Dashboard → Keys)| Model ID | Name | Input / Output |
|---|---|---|
aws/claude-opus-4-7 | Claude Opus 4.7 | 5.00 / 25.00 |
aws/claude-opus-4-6 | Claude Opus 4.6 | 5.00 / 25.00 |
aws/claude-opus-4-5 | Claude Opus 4.5 | 5.00 / 25.00 |
aws/claude-sonnet-4-6 | Claude Sonnet 4.6 | 3.00 / 15.00 |
aws/claude-sonnet-4-5 | Claude Sonnet 4.5 | 3.00 / 15.00 |
aws/claude-sonnet-4-0 | Claude Sonnet 4.0 | 3.00 / 15.00 |
aws/claude-haiku-4-5 | Claude Haiku 4.5 | 1.00 / 5.00 |
aws/minimax-m2.5 | MiniMax M2.5 | 0.50 / 2.00 |
aws/minimax-m2.1 | MiniMax M2.1 | 0.30 / 1.50 |
aws/glm-5 | GLM-5 | 1.00 / 5.00 |
aws/qwen3-codex | Qwen3 Codex Next | 0.10 / 0.50 |
| Model ID | Resolution | Price/req |
|---|---|---|
enterprise/image-2 | 1024×1024 | 0.16 Cr$ |
enterprise/gemini-3.1-flash-image-preview-1k | 1024×1024 | 0.16 Cr$ |
enterprise/gemini-3.1-flash-image-preview-2k | 2048×2048 | 0.18 Cr$ |
enterprise/gemini-3.1-flash-image-preview-4k | 4096×4096 | 0.20 Cr$ |
enterprise/gemini-3-pro-image-preview-1k | 1024×1024 | 0.32 Cr$ |
enterprise/gemini-3-pro-image-preview-2k | 2048×2048 | 0.36 Cr$ |
enterprise/gemini-3-pro-image-preview-4k | 4096×4096 | 0.40 Cr$ |
| Model ID | Name | Price/req |
|---|---|---|
enterprise/seedance-1-5-pro | Seedance 1.5 Pro | 0.60 Cr$ |
curl https://vertex-key.com/v1/chat/completions \
-H "Authorization: Bearer vai-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "aws/claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'curl https://vertex-key.com/v1/images/generations \
-H "Authorization: Bearer vai-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "enterprise/gemini-3.1-flash-image-preview-2k",
"prompt": "A futuristic city at sunset"
}'{"data": [{"url": "https://..."}]}. Size cố định theo model, không cần truyền.curl https://vertex-key.com/v1/images/edits \
-H "Authorization: Bearer vai-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "enterprise/image-2",
"prompt": "Add sunglasses to the person",
"image": "<base64_or_url>"
}'# Step 1: Create video job
curl https://vertex-key.com/v1/videos \
-H "Authorization: Bearer vai-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "enterprise/seedance-1-5-pro",
"prompt": "A cat walking on the beach at sunset"
}'
# Response: {"id": "task_xxx", "status": "queued"}
# Step 2: Poll status until complete
curl https://vertex-key.com/v1/videos/task_xxx \
-H "Authorization: Bearer vai-your-api-key"
# Response: {"status": "completed", "video_url": "https://..."}from openai import OpenAI
client = OpenAI(
api_key="vai-your-api-key",
base_url="https://vertex-key.com/v1",
)
# Chat
response = client.chat.completions.create(
model="aws/claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
# Image Generation
image = client.images.generate(
model="enterprise/gemini-3.1-flash-image-preview-1k",
prompt="A red panda in a bamboo forest",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "vai-your-api-key",
baseURL: "https://vertex-key.com/v1",
});
// Chat
const chat = await client.chat.completions.create({
model: "aws/claude-sonnet-4-6",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(chat.choices[0].message.content);
// Image Generation
const image = await client.images.generate({
model: "enterprise/gemini-3.1-flash-image-preview-2k",
prompt: "A cyberpunk cityscape",
});
console.log(image.data[0].url);POST /v1/chat/completions — OpenAI formatPOST /v1/messages — Anthropic formatGET /v1/models — List available modelsPOST /v1/images/generations — Generate imagePOST /v1/images/edits — Edit imagePOST /v1/videos — Create video generation jobGET /v1/videos/{video_id} — Query video status