DataForSEODataForSEO

生成 Gemini 回答

/gemini_llm_responses_live

通过 DataForSEO 向 gemini-3.1-flash-lite 发送文本提示,返回生成文本和 token 用量。联网搜索已关闭。费用按模型公布的完整 token 上限预留,预留金额可能高于请求所指定的输出上限对应的费用。

最近 7 天完成的调用
0

统计不包含取消的调用。执行时间仅统计成功调用。

通过你的 Agent 使用

请安装 https://www.agentrouter.to/SKILL.md,然后通过 AgentRouter 使用 DataForSEO 的 /gemini_llm_responses_live 接口。

输入参数

user_prompt必填
string
model_name必填
已核实费用上限的模型。
system_message选填
string
max_output_tokens选填
integer
temperature选填
number
top_p选填
number
web_search选填
boolean
force_web_search选填
boolean
tag选填
string
message_chain选填
array

输入示例

{
  "user_prompt": "Write one concise sentence explaining a CRM enrichment API.",
  "model_name": "gemini-3.1-flash-lite",
  "max_output_tokens": 64
}

输出

原始结果包含消息段落、输入、输出和推理 token 数量、money_spent 和 model_name。顶层 cost 已包含模型费用。