Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

DataForSEO Gemini LLM Response

Docs API
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live

Ask Gemini a prompt and get its answer with token usage, for AI visibility checks.

Prix
À partir de $0.001105USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 5 facultatifs

Bac à sable

Entrée
The prompt to send.
Model name from the vendor's model list.
Optional cap on answer length; longer answers cost more.
Optional system instruction.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

DataForSEO Gemini LLM Response API

Ask Gemini a prompt and get its answer with token usage, for AI visibility checks.

Request fields follow the official DataForSEO /v3/ai_optimization/gemini/llm_responses/live task schema (one task per call). The response is DataForSEO's original JSON; results are in tasks[].result.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_prompt": "best running shoes 2026", "model_name": "gemini-2.5-flash", "max_output_tokens": 200}'

Parameters

The JSON body is forwarded to the upstream endpoint. Main fields:

NameDescription
user_promptThe prompt to send.
model_nameModel name from the vendor's model list.
max_output_tokensOptional cap on answer length; longer answers cost more.
system_messageOptional system instruction.
web_searchOptional: let the model search the web (where supported).

Reference

Pricing

Billed at the actual cost of each call, about $0.001105 for the request above. The cost grows with the number of rows, targets or tokens a call returns. Failed calls are not charged. Searches with no results are billed at their actual cost.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
DataForSEOÀ partir de $0.001105 par appelJSON
DataForSEOÀ partir de $0.0102 par appelJSON
DataForSEOÀ partir de $0.000724 par appelJSON
DataForSEO$0.004 par appelJSON
DataForSEOÀ partir de $0.00162 par appelJSON
DataForSEO$0.004 par appelJSON

Questions

FAQ

Comment utiliser l’API DataForSEO Gemini LLM Response ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API DataForSEO Gemini LLM Response ?

À partir de $0.001105 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API DataForSEO Gemini LLM Response accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : user_prompt (string), model_name (string), max_output_tokens (integer), system_message (string) et web_search (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API DataForSEO Gemini LLM Response ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API DataForSEO ?

Non. DataForSEO Gemini LLM Response fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API DataForSEO séparément.