Tous les produits
Search
Centre de documentation

Alibaba Cloud Model Studio:Text-to-image prompt guide

Dernière mise à jour :Oct 11, 2026

Rédigez des prompts efficaces pour générer des images de haute qualité avec Wan - text-to-image V2 . Ce guide aborde la structure des prompts, le vocabulaire visuel et propose des exemples pratiques.

Structure du prompt

Des prompts plus complets et précis génèrent des images de meilleure qualité. Ce guide propose deux formules adaptées à différents besoins :

Formule de base

Utilisateurs cibles : Nouveaux utilisateurs ou utilisateurs en quête d'inspiration. Utilisez cette formule pour une exploration et une expérimentation rapides.

Prompt = Sujet + Contexte + Style
ÉlémentCe qu'il contrôleExemples
SujetObjet principal — personne, animal, plante, objet ou créature imaginaire« a golden retriever », « a medieval castle »
ContexteLieu du sujet — intérieur/extérieur, saison, météo, moment de la journée« in a snowy forest », « at sunset on a beach »
StyleApparence artistique — réaliste, abstrait, pictural« watercolor style », « cinematic photography »
Exemple
PromptRésultat
25-year-old Chinese girl, round face, looking at the camera, elegant ethnic costume, commercial photography, outdoor, cinematic lighting, half-body close-up, delicate light makeup, sharp edges.Basic formula example

Formule avancée

Utilisateurs cibles : Utilisateurs expérimentés. Utilisez cette formule pour un contrôle fin de la caméra, de l'ambiance et des détails.

Prompt = Sujet + Contexte + Style + Caméra + Ambiance + Modificateurs de détail
ÉlémentCe qu'il contrôleExemples
SujetObjet principal avec des caractéristiques et des actions spécifiques« a cute 10-year-old Chinese girl wearing a red dress »
ContexteCaractéristiques environnementales détaillées« surrounded by animal kingdom city street shops »
StyleStyle artistique spécifique ou technique visuelle« watercolor style », « Pixar style », « felt style »
CaméraTaille du plan, angle, type d'objectif et composition« close-up », « centered composition », « photographic lens »
AmbianceHumeur et tonalité émotionnelle« dreamy », « lonely », « majestic », « childlike wonder »
Modificateurs de détailAffinements pour la qualité et l'esthétique« 4K », « high resolution », « backlight », « natural »
Exemple
PromptRésultat
A panda made of wool felt, wearing a wide-brimmed hat, dressed in a blue police uniform vest, with a belt around the waist, carrying police equipment, wearing blue gloves, leather shoes, in a running posture, felt effect, surrounded by animal kingdom city street shops, premium filter, street lamps, animal kingdom, childlike wonder, adorable appearance, night, bright, natural, cute, 4K, felt material, photographic lens, centered composition, felt style, Pixar style, backlight.Advanced formula example

Modèle de prompt structuré

Pour un contrôle maximal, utilisez ces dimensions comme liste de vérification. Incluez uniquement celles qui sont pertinentes.

DimensionDescriptionExemples de valeurs
SujetPoint focal principal de l'image« a cheetah », « an old lighthouse »
Action/PoseCe que fait le sujet« running », « looking at the camera »
StyleApproche artistique« 3D cartoon », « ink painting », « realistic »
ContexteEnvironnement d'arrière-plan« dense forest », « city street at night »
ÉclairageSource et qualité de la lumière« cinematic lighting », « backlight », « neon »
AmbianceHumeur ou émotion« serene », « dramatic », « whimsical »
Angle de caméraPerspective de vue« eye level », « bird's eye », « low angle »
Taille du planCadrage du sujet« extreme close-up », « medium shot », « long shot »
ObjectifSimulation d'objectif« macro », « telephoto », « fisheye »

Paramètres du prompt

Le modèle dispose de deux paramètres liés au prompt :

ParamètreDescription
promptDécrit l'image à générer. Prend en charge le chinois et l'anglais.
negative_promptSpécifie le contenu à exclure de l'image.

Text-to-image V2 prend également en charge la réécriture des prompts à l'aide d'un LLM.

ParamètreDescription
prompt_extendActive la réécriture intelligente du prompt par un LLM. La valeur par défaut est true. Conservez la valeur par défaut pour obtenir les meilleurs résultats.
Exemple de requête
{
    "input": {
        "prompt": "A flower shop with exquisite windows, beautiful wooden doors, and flowers on display",
        "negative_prompt": "people"
    },
    "parameters": {
        "prompt_extend": true
    }
}

Référence du vocabulaire des prompts

Mots-clés prêts à l'emploi pour cinq dimensions visuelles : taille du plan, perspective, type d'objectif, style et éclairage. Ajoutez directement les mots-clés à votre prompt.

Taille du plan

La taille du plan contrôle la proportion du sujet dans le cadre, du plan large au gros plan extrême.

Type de planQuand l'utiliserMot-clé du prompt
Gros plan extrêmeMettre en valeur les détails du visage, les textures, les émotionsextreme close-up
Gros planSe concentrer sur un seul sujet avec un peu de contexteclose-up
Plan moyenÉquilibrer le sujet et l'environnementmedium shot
Plan largeMettre l'accent sur l'environnement, montrer l'échellelong shot
Exemples
Type de planPromptRésultat
Gros plan extrême**Extreme close-up shotHigh-definition camera, emotional photography, sunset,extreme close-up portrait.**

Extreme close-up

Gros planClose-up: 18-year-old Chinese girl, ancient costume, round face, looking at the camera, elegant ethnic costume, commercial photography, outdoor, cinematic lighting, half-body close-up, delicate light makeup, sharp edges.Close-up
Plan moyen**Medium shotCinematic fashion glamour photography, young Asian woman, Chinese Miao girl, round face, looking at the camera, elegant dark ethnic costume,medium wide-angle lens**, sunny, utopian, shot with a high-definition camera.

Medium shot

Plan large**Long shotShows along shot**, with two small figures standing on a distant mountaintop against a magnificent snowy mountain background, with their backs to the camera, quietly admiring the sunset. The sunset's glow bathes the snow-capped mountains in a golden light, creating a stark contrast with the azure sky. The two people seem captivated by this spectacular natural scene, and the entire image is filled with tranquility and harmony.

Long shot

Perspective

La perspective contrôle l'angle de la caméra par rapport au sujet.

Type de perspectiveQuand l'utiliserMot-clé du prompt
Hauteur des yeuxPoint de vue naturel et familiereye level perspective
Plongée totaleVue d'ensemble, motifs, échelle depuis le dessusbird's eye perspective
Contre-plongéeSujets dramatiques, imposants, puissantslow angle
Vue aérienneVue d'ensemble du paysage, contexte géographiqueaerial perspective
Exemples
PerspectivePromptRésultat
Hauteur des yeux**Eye level perspectiveThe image shows a grassland scene captured from aneye level perspective**, where a flock of sheep leisurely graze on the lush green grass, their wool glowing with a warm golden hue in the weak morning sunlight, creating beautiful light and shadow effects.

Eye level

Plongée totale**Bird's eye perspectiveThe scene depicts a view looking down at the ice lake from the air, with a small boat in the center, surrounded by vortex patterns and vibrant blue seawater. Spiral abyss,the scene is shot from above in a top-down perspective**, showing intricate details such as ripples on the surface and layers beneath the snow-covered ground. Gazing out at the cold vast expanse. Creating an awe-inspiring sense of tranquility.

Bird's eye

Contre-plongée**Low angleShows a spectacular scene in a tropical area, where tall coconut trees stand like towering giants, with lush branches pointing towards the blue sky. The camera uses alow angle perspective**, making viewers feel as if they are standing under the trees, experiencing the majesty and vitality of nature. Sunlight filters through the gaps in the leaves, creating dappled light and shadow, adding a touch of mystery and romance. The entire image is filled with tropical flavor, making one almost smell the coconut fragrance and feel the pleasant breeze on their face.

Low angle

Vue aérienne**Aerial perspectiveShows heavy snow, village, roads, lights, trees.Aerial perspective**, realistic effect.

Aerial

Type d'objectif

Le type d'objectif simule différents objectifs de caméra et leurs caractéristiques optiques.

Type d'objectifQuand l'utiliserMot-clé du prompt
MacroMinuscules détails, textures, petits objetsmacro lens
Ultra grand-anglePaysages expansifs, intérieurs architecturauxultra-wide angle lens
TéléobjectifSujets isolés avec arrière-plan floutelephoto lens
Fish-eyeDistorsion exagérée, effets créatifsfisheye lens
Exemples
Type d'objectifPromptRésultat
Macro**Macro lenscherries, carbonated water,macro**, professional color grading, clean sharp focus, commercial high quality, magazine winning photography, hyper realistic, uhd, 8K

Macro

Ultra grand-angleUltra-wide angle lens:, island under blue sea and sky, sunlight filtering through tree leaves, casting dappled shadows.Ultra-wide angle
Téléobjectif**Telephoto lensShows a cheetah standing in a lush forest under atelephoto lens**, facing the camera, with the background cleverly blurred, making the cheetah's face the absolute focus of the image. Sunlight filters through the gaps in the leaves, creating dappled light and shadow effects on the cheetah, enhancing the visual impact.

Telephoto

Fish-eye**Fisheye lensShows a scene where a woman stands and looks directly at the camera under the special perspective of afisheye lens**. Her image is exaggeratedly enlarged in the center of the frame, while the surroundings show strong distortion effects, creating a unique visual impact.

Fisheye

Style

Le style définit l'apparence artistique et la technique de rendu.

StyleQuand l'utiliserMot-clé du prompt
Dessin animé 3DPersonnages animés, scènes ludiques3D cartoon style
Post-apocalyptiqueEnvironnements dystopiques, ruinéspost-apocalyptic style
PointillismePoints impressionnistes, aspect texturépointillism
SurréalismeScènes oniriques, impossiblessurrealist style
AquarelleEffets doux, picturaux, translucideswatercolor
ArgileAspect sculpté, tactile, fait mainclay style
RéalisteRéalisme photographique, détails réalistesrealistic
CéramiqueAspect émaillé, sculpté, porcelaineceramic
3DRendu, dimensionnel, aspect CGI3D, C4D rendering
Peinture à l'encreArt traditionnel au pinceau d'Asie de l'Estink painting
OrigamiPliage de papier, géométrique, minimalisteorigami
GongbiPeinture traditionnelle chinoise aux détails finsGongbi painting
Encre chinoiseLavis à l'encre avec esthétique chinoiseChinese ink style
Exemples
StylePromptRésultat
Dessin animé 3DFemale tennis player, short hair, white tennis outfit, black shorts, returning the ball from the side, 3D cartoon style.3D cartoon
Post-apocalyptiqueCity on Mars, post-apocalyptic style.Post-apocalyptic
PointillismeA cute white little house, thatched roof, a snow-covered prairie, bold use of pointillism, Monet feel, clear brushstrokes, blurred edges, primitive edge texture, low saturation colors, low contrast, Morandi colors.Pointillism
SurréalismeA pink glowing river in a deep gray sea, with a minimalist, beautiful, and aesthetic atmosphere, cinematic lighting with a surrealist style.Surrealism
AquarelleLight watercolor, outside a cafe, bright white background, fewer details, dreamy, Studio Ghibli.Watercolor
ArgileClay style, little boy in a blue sweater, brown curly hair, dark blue beret, drawing board, outdoors, seaside, half-body shot.Clay
RéalisteBasket, grapes, picnic cloth, hyper realistic still life photography, macro lens, Tyndall effect.Realistic
CéramiqueShows a highly detailed ceramic dog lying quietly on a table with a delicate bell tied around its neck. Each strand of the dog's fur is intricately carved, and the details of its eyes, nose, and mouth are lifelike.Ceramic
3DChinese dragon, cute Chinese dragon sleeping on white clouds, charming garden, in morning mist, close-up, front view, 3D, C4D rendering, 32k ultra high definition, 32k UHD, Chinese punk, 32k UHD, animal statue, octane rendering, ultra high definition.3D
Peinture à l'encreOrchid, ink painting, white space, artistic conception, Wu Guanzhong style, delicate brushstrokes, texture of rice paper.Ink painting
OrigamiOrigami masterpiece, kraft paper panda, forest background, medium shot, minimalism, backlight, best quality.Origami
GongbiAt dawn, a plum blossom stands proudly in the snow, with petals as delicate as silk, dewdrops lightly hanging, showcasing the exquisite beauty of Gongbi paintingGongbi
Encre chinoiseChinese ink style, a man with long black hair, golden hairpin, golden butterflies flying around, white clothing, high detail, high quality, deep blue background, with faintly visible ink bamboo forest in the background.Chinese ink

Éclairage

L'éclairage définit l'humeur, l'atmosphère et la profondeur visuelle.

Type d'éclairageQuand l'utiliserMot-clé du prompt
Lumière naturelleScènes extérieures, chaleur réalistesunlight, moonlight, starlight
Contre-jourSilhouettes, effets de halo, contours dramatiquesbacklight
Lumière néonScènes urbaines nocturnes, esthétiques cyberpunkneon light
Lumière ambianteLueur douce, diffuse, atmosphériqueambient light
Exemples
Type d'éclairagePromptRésultat
Lumière naturelle**Sunlight, moonlight, starlightThe image showsmorning sunlight** streaming onto the ground of a dense forest, with silver-white rays penetrating the treetops, creating dappled light and shadow, creating a realistic and serene atmosphere.

Natural light

Contre-jour**BacklightShows that in abacklit environment**, the model's contour lines become more distinct, with golden light and silk surrounding the model, creating a dreamlike halo effect. The entire scene is full of artistic atmosphere, showcasing high-level photography techniques and creativity.

Backlight

Lumière néon**Neon lightCity street scene after rain,neon lights** reflect colorful rays on the wet ground. Pedestrians hurry by with umbrellas, vehicles slowly drive through the bizarre streets, leaving colorful trails. The entire image is filled with the mystery and romance of the urban night, as if each raindrop is telling a story of the city.

Neon light

Lumière ambiante**Ambient lightRomantic artistic scene by the river at night,ambient lights** gently illuminate the water surface, a group of lotus lanterns slowly drift toward the center of the river, the light and the rippling water surface reflect each other, creating a dreamlike visual effect.

Ambient light