CogView-4 API
cogview-4
CogView-4 is an image model from Zhipu, available through the GPUniq API under the identifier `cogview-4`. Image generation — billed per request. Pricing starts at $0.01 per image. Generation runs as a job through the GPUniq API: you submit the prompt, poll for the result, and the exact charge comes back with the finished asset.
Pricing
Billed per image returned. Requesting several images in one call multiplies the charge. For models with size tiers the rate follows the resolution you ask for, and the API returns the exact charge alongside the result.
| Billed for | GPUniq |
|---|---|
| Generationper image | $0.01 |
Billed from your GPUniq balance as you use it — no subscription, no monthly minimum, no per-seat fee. Prices refresh from the live catalog hourly.
Specifications
What the model accepts, what it returns, and the limits you will hit first.
- API identifier
cogview-4Pass this exact string as the "model" field of your request.
- Type
- Image generation
Served by Zhipu.
Detailed specs are not published for this model. Everything above comes from the GPUniq catalog; we would rather show less than guess.
How to call it
Generation runs as a job — submit the prompt, then poll the job id until the asset is ready.
Endpoint
POST /v1/llm/images/generations
Base URL
https://api.gpuniq.com
curl https://api.gpuniq.com/v1/llm/images/generations \
-H "Authorization: Bearer YOUR_GPUNIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "cogview-4",
"prompt": "A lighthouse at dusk, long exposure",
"n": 1,
"size": "1024x1024"
}'Create a key on /chat and send it as a bearer token. The same key works across every model in the catalog, so switching models means changing one string.
cogview-4 — frequently asked
How much does cogview-4 cost?
$0.01 per image on GPUniq, charged from your balance as you use it. There is no subscription and no monthly minimum.
How do I call cogview-4 from my code?
Send a generation request to the GPUniq API with "cogview-4" as the model, then poll the returned job id until the asset is ready. A GPUniq API key is the only credential involved.