Imagen 4 开发中
概览
- 简介: 开发中 POST https://api.winfull.cloud-ip.cc/v1beta/models/imagen-4.0-generate-001:predict 官方文档:https://ai.google.dev/gemini-api/docs/image-generation?hl=zh-cn
认证
- Header: Authorization: Bearer
<token>
请求参数
- Header: Authorization: Bearer
<token> - Body 类型: application/json
{
"instances": [
{
"prompt": "小女孩"
}
],
"parameters": {
"sampleCount": 4
}
}请求示例
curl --location -g --request POST 'https://api.winfull.cloud-ip.cc/v1beta/models/imagen-4.0-generate-001:predict?key=' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"instances": [
{
"prompt": "小女孩"
}
],
"parameters": {
"sampleCount": 4
}
}'返回示例
🟢200成功 示例
{}最后更新:2025-11-25 01:25:44
