Generate unique AI avatars using OpenAI's GPT-Image-1 model. Choose from 30+ art styles across categories like cartoon, watercolor, pixel art, and comic.
curl -X POST 'https://api.smavatar.com/api/v1/projects/{project_id}/jobs/avatars' \
-H 'Authorization: Bearer {api_key}' \
-H 'Content-Type: application/json' \
-d '{
"style_id": "wc_soft_warm",
"quality": "standard",
"size": "square",
"parameters": {
"subject": "owl",
"theme": "scientist",
"gender": "neutral",
"color": "purple"
}
}'
| Category | Example Styles | Description |
|---|---|---|
| Cartoon | cartoon_flat_modern, cartoon_80s_bold | Bold, expressive characters |
| Watercolor | wc_soft_warm, wc_bright_playful | Soft, artistic textures |
| Comic | comic_marvel_vintage, ink_comic | Bold lines, dramatic shading |
| Pixel Art | pixel_art_8bit, pixel_art_16bit | Retro gaming aesthetic |
| 3D | 3d_clay, 3d_toy | Rendered figurine look |
| Sketch | sketch_bw, ink_sketch | Hand-drawn feel |
See Styles for the complete list.
| Quality | Description |
|---|---|
economy | Fast generation, good for prototyping |
standard | Balanced quality for production |
high | Maximum detail for hero images |
See Pricing for token costs.
| Size | Dimensions | Aspect Ratio |
|---|---|---|
square | 1024×1024 | 1:1 |
landscape | 1792×1024 | 16:9 |
portrait | 1024×1792 | 9:16 |