google/imagen4-fast
📝 模型简介待补充(TODO)。 本页所有取值均来自 ModelFold 模型目录,未编造任何技术细节。
概览
| 字段 | 值 |
|---|---|
| 模型 ID | google/imagen4-fast |
| 所属系列 | google/imagen4 |
| 模态 | 图像生成 (image) |
| 计费积分 | 6 |
| 上游成本 | 4 / per request |
| 定价来源 | upstream-api — 上游官方定价(媒体类) |
| 调用端点 | POST /v1/images/generations |
调用示例
bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..." # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/images/generations" \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/imagen4-fast","prompt":"Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink hair (slightly faded) and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile. She wears an oversized, vintage band t-shirt (slightly worn, with the faintly cracked white text “ModelFold AI” across the chest) layered over a long-sleeved striped top, along with simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel.","aspect_ratio":"16:9"}'必填参数
必填:prompt、aspect_ratio。
模型参数直接放在请求体顶层,不要套 input。示例素材地址需替换为自己的公开可访问文件;请求等待生成完成后返回 data[].url。
条件必填、取值限制及其它输入模式见完整参数文档。
