Skip to content

google/imagen4 ​

📝 Model description pending (TODO). Every value on this page comes from the ModelFold catalog, and no technical detail has been invented.

Overview ​

FieldValue
Model IDgoogle/imagen4
Family sluggoogle/imagen4
ModalityImage Generation (image)
Credits12
Upstream cost8 / per request
Pricing sourceupstream-api — Upstream official pricing (media)
EndpointPOST /v1/images/generations

Request example ​

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","prompt":"A lively comic scene where two colleagues are in an office. The first person says, '\''Have you heard about Google Imagen 4 Ultra?'\'' The second person responds with excitement, '\''It’s the best text-to-image tool out there!'\'' The first person asks again, '\''Do you know where to get the API?'\'' The second person smiles and says, '\''ModelFold has it!'\'' In the final panel, the two look at a screen showing ModelFold’s interface with an API option, with bright and colorful comic-style illustrations.","aspect_ratio":"1:1"}'

Required parameters ​

Required: prompt, aspect_ratio.

Pass model parameters at the top level; do not wrap them in input. Replace sample media URLs with your own publicly accessible files. The request waits for generation and returns data[].url.

See the complete parameter reference for conditional requirements, limits and alternative input modes.

See also ​

ModelFold — one API for all the best AI models.