Présentation de Qwen 3.0 Image Pro

Qwen 3.0 Image Pro est un outil de génération d'images qui prend en charge l'entrée de jusqu'à 4,5 k de jetons et la disposition d'informations denses avec des images dans des images, permettant la génération de dispositions complexes comme des journaux, des storyboards, des menus et des examens en un seul passage.

Fonctionnement de Qwen 3.0 Image Pro

Qwen 3.0 Image Pro prend en charge la représentation précise du texte de taille 10px et reproduit vivement les détails fins tels que les micro-expressions, les pores et les mèches de cheveux individuelles, approchant la qualité de la photographie réelle. Il prend également en charge la représentation native de 12 langues et de plus de 20 polices, ainsi que la simulation réaliste des interfaces principales telles que les pages Web, les jeux et les flux en direct, en incorporant pleinement les connaissances externes.

Utilisation et limites de Qwen 3.0 Image Pro

Les tarifs de Qwen 3.0 Image Pro sont les suivants : 0,003 $ par image pour l'entrée d'image 1K, 0,003 $ par image pour l'entrée d'image 2K, 0,04 $ par image pour la sortie d'image 1K et 0,075 $ par image pour la sortie d'image 2K. Les limites de taux sont de 1 requête par minute.

Exemple d'utilisation de l'API

Voici un exemple d'utilisation de l'API Qwen 3.0 Image Pro en utilisant la commande curl :

curl --location 'https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation' 
   --header 'Content-Type: application/json' 
   --header 'Authorization: Bearer $DASHSCOPE_API_KEY' 
   --data '{
       "model": "qwen-image-3.0-pro",
       "input": {
           "messages": [
               {
                   "role": "user",
                   "content": [
                       {
                           "text": "A vertical outdoor portrait photograph with a warm, film-like afternoon street atmosphere, featuring a beautiful young adult woman looking back over her shoulder at the camera with a joyful toothy smile, her long thick wavy black hair catching the golden rim light, her fair skin, delicate eyebrows, bright eyes, and soft coral-red lips creating a radiant expression. She wears a simple black backless dress with thin spaghetti straps, showcasing her back, and cradles a large, lush bouquet of orange, apricot, pink, and pale peach roses in her arms, creating a sharp contrast against her dress. The top-left of the frame is covered with dark green vines and small orange flowers draping naturally, partially obscuring a matte dark blue signboard with the white Gothic text \"Il Messaggero\". Below the sign is a blurred glass newsstand window with black metal frames showing hints of newspapers and magazines. The right background features strong golden hour backlighting streaming down a warm-toned, sun-drenched city street, with buildings blurred into soft beige-gray shapes, creating a beautiful bokeh effect and a blurry red traffic sign in the far distance. The entire image has a cinematic, romantic, and bright urban stroll atmosphere, characterized by soft contrast, fine film grain, a shallow depth of field, and stunning backlit highlights."
                       }
                   ]
               }
           ]
       },
       "parameters": {
           "prompt_extend": true
       }
   }'
   

Cet exemple montre comment utiliser l'API pour générer une image complexe avec une description détaillée.