Doubao Seed 2.0 Mini · qiniu-ai
Entrée, $/1M $0.02899
Sortie, $/1M $0.29
Lecture cache $0.005797
Écriture cache —
Contexte 256 000
Sortie max. 32 000
Accepte image/bmp, image/gif, image/heic, image/jp2, image/jpeg, image/png, image/sgi, image/tiff, image/webp, image/x-icns, image/x-icon, texte, video/mp4, video/quicktime, video/x-msvideo
Dernière vérification 04.11.2026 12:26:37 UTC
Source —
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://api.qnaigc.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seed-2.0-mini", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://api.qnaigc.com/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "doubao-seed-2.0-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://api.qnaigc.com/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "doubao-seed-2.0-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Requête (JSON)
{
"model": "doubao-seed-2.0-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Réponse (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "doubao-seed-2.0-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Aqiniu-ai%7Cdoubao-seed-2.0-mini, prices checked 2026-11-04
Détails techniques
ID: offer:qiniu-ai|doubao-seed-2.0-mini