Back to Models
CogView-4
Available
Description
CogView-4 turns detailed prompts into precise, high-quality images with strong composition and quick iteration. Supports standard (fast) and HD (richer detail) quality modes plus multiple aspect ratios.
At a Glance
Key pricing and model details available for this model.
Starting price
$0.01
per image
Hallucination rate
0%
Supported sizes
1024x1024, 768x1344, 864x1152, 1344x768, 1152x864, 1440x720, 720x1440
Image Pricing
Image generation pricing currently exposed by the models API.
Starting price
$0.01
per image
Resolution Pricing
Resolution-specific prices returned for this image model.
| 1024x1024 | $0.01 |
| 1152x864 | $0.01 |
| 1344x768 | $0.01 |
| 1440x720 | $0.01 |
| 720x1440 | $0.01 |
| 768x1344 | $0.01 |
| 864x1152 | $0.01 |
| auto | $0.01 |
Image Details
Additional image-related pricing and format support.
| Pricing unit | per image |
| Supported sizes | 1024x1024 768x1344 864x1152 1344x768 1152x864 1440x720 720x1440 |
Feature Availability
Capabilities explicitly listed in the current payload.
Image
Available
Yes
Vision
Not listed
No
Function calling
Not listed
No
Reasoning
Not listed
No
Code Samples
Quick start with the Routeway API
const response = await fetch('https://api.routeway.ai/v1/images/generations', {
method: 'POST',
headers: {
'Authorization': 'Bearer <YOUR_API_KEY>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'cogview-4',
prompt: 'A futuristic city skyline at sunset',
size: '1024x1024',
})
});
const imageData = await response.json();
console.log(imageData);