Chargement de l'aide...
Chargement...
Utilisez DALL-E 3 et Stable Diffusion pour générer des designs professionnels
const response = await fetch('/api/v1/ai/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
prompt: "Un t-shirt avec un lion majestueux en style aquarelle",
style: "watercolor",
size: "1024x1024",
quantity: 4 // Générer 4 variations
})
});
const { images } = await response.json();
// images: Array de 4 URLs d'images généréesrealisticartisticcartoonwatercolorsketchpop-artminimalistvintagemodern