Z-Image Art Generator API
The Z-Image Art Generator API provides fast, high-quality anime-style image generation using the Z-Image Turbo model. Generate stunning anime artwork from text prompts with exceptional speed. Perfect for anime fans, artists, and applications requiring anime-style visuals.
Quick Start
Generate your first anime image in 30 seconds
Get Your API Key
Sign in to your account to get your API key and see it automatically filled in all code examples.
Don't have an account? Sign up for free
import requests
response = requests.post(
"https://netwrck.com/api/zimage-art-generator",
json={
"api_key": "YOUR_API_KEY",
"prompt": "beautiful anime girl with flowing silver hair, cherry blossoms, magical atmosphere",
"size": "landscape_4_3"
}
)
result = response.json()
print(f"Image generated: {result['image_url']}")
print(f"Cost: ${result['cost']}")
fetch('https://netwrck.com/api/zimage-art-generator', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
api_key: 'YOUR_API_KEY',
prompt: 'beautiful anime girl with flowing silver hair, cherry blossoms, magical atmosphere',
size: 'landscape_4_3'
})
})
.then(res => res.json())
.then(result => {
console.log('Image generated:', result.image_url);
console.log('Cost: $' + result.cost);
})
.catch(error => console.error('Error:', error));
curl -X POST https://netwrck.com/api/zimage-art-generator \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY",
"prompt": "beautiful anime girl with flowing silver hair, cherry blossoms, magical atmosphere",
"size": "landscape_4_3"
}'
Interactive API Tester
Pricing & Credits
Cost Per Image
$0.007 USD
Per successful generation
Billing Policy
Success: Charged $0.007
Failed: No charge
Only pay for successful generations
API Reference
POST /api/zimage-art-generator
Generate high-quality anime-style AI images from text descriptions
Request Format
Send a POST request with a JSON body containing these parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Required | Your API key for authentication. |
| prompt | string | Required | Text description of the anime image you want to generate. Be detailed for best results. |
| size | string | Optional |
Image size preset. Default: "landscape_4_3".
Supported sizes:
|
| num_images | integer | Optional | Number of images to generate. Default: 1. Each image costs 1 credit ($0.007). |
| seed | integer | Optional | Random seed for reproducible results. Same seed + prompt = same image. |
Response Examples
Success Response (200 OK)
{
"success": true,
"image_url": "https://netwrckstatic.netwrck.com/static/uploads/ai/zimage-example.webp",
"images": ["https://netwrckstatic.netwrck.com/static/uploads/ai/zimage-example.webp"],
"prompt_used": "beautiful anime girl with flowing silver hair, cherry blossoms, magical atmosphere",
"size_used": "landscape_4_3",
"cost": "0.007",
"credits_charged": 1
}
Error Responses
401 Unauthorized
{
"error": "Invalid API key",
"status": 401
}
402 Payment Required
{
"error": "Insufficient credits",
"status": 402
}
Pro Tips for Anime Art
Prompt Writing
- Include character details: hair color, eye color, clothing
- Add atmosphere: "magical", "dramatic lighting", "sunset"
- Specify art style: "detailed anime", "studio ghibli style"
- Include composition: "close-up portrait", "full body shot"
Best Practices
- Use portrait sizes for character art
- Use landscape for scene compositions
- Save seeds for consistent character styles
- Combine multiple style keywords for unique results
Example Prompts
"anime girl with long pink hair, wearing a school uniform, cherry blossom petals falling, soft lighting, detailed illustration"
"fierce samurai warrior in ornate armor, dramatic pose, moonlit battlefield, epic anime style"
"cozy anime coffee shop interior, warm lighting, cute barista character, studio ghibli inspired"
Netwrck