Live Test
Enter a prompt above and click "Generate Artwork" to see the magic happen!
Transform your imagination into stunning artwork with our powerful AI art generation API
Try It NowGenerate high-quality artwork in seconds with our optimized AI models
Support for multiple languages with automatic translation
Simple REST API that integrates seamlessly with your applications
Enter a prompt above and click "Generate Artwork" to see the magic happen!
https://magic-studio.ziddi-beatz.workers.dev/?prompt=your-text
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt |
String | Yes | Text description of the image to generate |
const response = await fetch('https://magic-studio.ziddi-beatz.workers.dev/?prompt=a beautiful sunset over mountains');
const imageBlob = await response.blob();
const imageUrl = URL.createObjectURL(imageBlob);
document.getElementById('image').src = imageUrl;
import requests
url = "https://magic-studio.ziddi-beatz.workers.dev/"
params = {"prompt": "a beautiful sunset over mountains"}
response = requests.get(url, params=params)
with open("generated_image.png", "wb") as f:
f.write(response.content)
curl "https://magic-studio.ziddi-beatz.workers.dev/?prompt=a beautiful sunset over mountains" \
-o generated_image.png
The API returns a PNG image file directly. On success, you'll receive:
// Error responses are text/plain 400 Bad Request: ❌ Please provide a prompt using ?prompt=your-text 500 Internal Server Error: ❌ Internal Error: [error message]
Our AI Art Generator API provides a simple and powerful way to create stunning artwork from text descriptions. Built on Cloudflare Workers for lightning-fast performance and global availability.