2.1 概览

我们先看几个 Text-to-Image Prompt 示例。

PromptImage
A cute dog with a bowtie
Oil painting portrait of (Joe Biden:1.5) and (Donald Trump: 0.5)
Oil painting portrait of [Joe Biden: Donald Trump: 0.5]
a realistic photography of Himalayan peaks, very detailed
Renaissance-style portrait of an astronaut in space, detailed starry background, reflective helmet.
Surrealist painting of a floating island with giant clock gears, populated with mythical creatures.
High-fashion photography of Emma Watson in an abandoned industrial warehouse, with dramatic lighting and edgy outfits.
Aerial photography of a winding river through autumn forests, with vibrant red and orange foliage.
Cyberpunk cityscape with towering skyscrapers, neon signs, and flying cars.
Fantasy illustration of a dragon perched on a castle, with a stormy sky and lightning in the background.
Emma Watson as a powerful mysterious sorceress, casting lightning magic, detailed clothing, digital painting, hyperrealistic, fantasy, Surrealist, full body, by Stanley Artgerm Lau and Alphonse Mucha, artstation, highly detailed, sharp focus, sci-fi, stunningly beautiful, dystopian, iridescent gold
(dog:1.5), autumn in paris, ornate, beautiful, atmosphere, vibe, mist, smoke, fire, chimney, rain, wet, pristine, puddles, melting, dripping, snow, creek, lush, ice, bridge, forest, roses, flowers, by stanley artgerm lau, greg rutkowski, thomas kindkade, alphonse mucha, loish, norman rockwell.
An oil painting of the autumnal equinox,a woman surrounded by autumn leaves, an airbrush painting by Josephine Wall, deviantart, psychedelic art, airbrush art, detailed painting, pre-raphaelite, 3d render, rococo art
{.table .table-bordered .border-secondary}

前几个 Prompt 相对还好,后面三个的看起来可能就有点懵了,甚至很多单词都不熟悉,简直像是“魔法咒语”☔️。

没关系!通过我们介绍的 Text-to-Iamge 模型的 Prompt 编写指引,Promt 模板(建议),Prompt 各个组成部分的可选词汇,以及部分生成控制参数和相关工具 等,相信你很快也能编写自己的“魔法咒语”了🧙‍♂️。

最后更新于