Zhipu image model on Crazyrouter

Generate images with the CogView-4 API

CogView-4 is available on Crazyrouter through the OpenAI-compatible images endpoint. Pay per image, no subscription, same key as your text models.

Image generationText to imageLow cost
Model ID
cogview-4
Provider
Zhipu
Endpoint
/v1/images/generations
Task
image generation
Input modalities
Text
Output modalities
Image

What is CogView-4?

CogView-4 is a CogView image model from Zhipu for text-to-image generation and image editing. On Crazyrouter it shares an API key and balance with chat, video and audio models, so image generation slots into an existing integration without a second vendor account.

OpenAI images schema

Same request and response shape as the OpenAI Images API; existing client code keeps working.

Per-image billing

You are charged per generated image at the rate on this page, nothing else.

Reference images

Where the upstream model supports it, pass reference images for editing and style transfer.

One key, all modalities

Mix image generation with chat, video and music models under one balance.

CogView-4 API quickstart

POST to https://crazyrouter.com/v1/images/generations with model cogview-4. The response follows the OpenAI images schema (URL or base64).

cURL
curl https://crazyrouter.com/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
  -d '{
    "model": "cogview-4",
    "prompt": "A product photo of a ceramic mug on a wooden desk, soft morning light",
    "n": 1,
    "size": "1024x1024"
  }'

Best use cases

Product and marketing visuals at scale
Blog and social cover images
Design exploration and mood boards
Image editing, inpainting and style transfer
Game and app asset prototyping
Personalised visuals in user-facing apps

Works with developer tools

OpenAI SDKs

client.images.generate(model="cogview-4", prompt=...) against the Crazyrouter base URL.

n8n / Dify / Make

Use the HTTP node or the OpenAI-compatible connector with the Crazyrouter endpoint.

Custom backends

Plain HTTPS; no SDK required.

Crazyrouter playground

Try prompts in the console before writing code.

CogView-4 FAQ

Which endpoint do I call?

https://crazyrouter.com/v1/images/generations with model set to cogview-4.

How is it billed?

Per generated image at the price shown on this page; failed generations are not charged.

Which sizes and formats are supported?

The upstream model's sizes and formats; pass size and response_format as documented by the vendor.

Can I edit an existing image?

If the upstream model supports edits, send reference images via the images edits endpoint or the image field.

Is there a rate limit?

Limits follow your account tier; contact support for higher throughput.