SD基础文生图-提示词生图

更新时间:

万物皆可艺术,来PAI ArtLab释放你的创意吧!(1)在这里,每个瞬间都能变成灵感,每个灵感都能成为你的艺术作品!(2) 只需点击生成,不管是静物、风景又或是你的独特的艺术视角,统统都能变成一场艺术盛宴!(3)快来加入我们的创作旅程,和小伙伴们分享你的艺术灵感,一起打破常规,创造永恒!#paiartlab #万物皆可艺术 #创意无限

实验室资源方式简介

进入实操前,请确保阿里云账号满足以下条件:

  • 个人账号资源

    • 使用您个人的云资源进行操作,资源归属于个人。

    • 平台仅提供手册参考,不会对资源做任何操作。

  • 确保已完成云工开物300元代金券领取。

  • 已通过实名认证且账户余额≥0元。

本实验,预计产生费用:约0.012以仅用SDWebUI(共享版)生成一张512*512最简单的图(393kb,1.66sec)为例估算

如果您调整了资源规格、使用时长,或执行了本方案以外的操作,可能导致费用发生变化,请以控制台显示的实际价格和最终账单为准。

平台开通及授权

在开始实验之前,请先点击右侧屏幕的“进入实操”再进行后续操作

image

第一步:本次实验需要您通过领取阿里云云工开物学生专属300元抵扣券兑换本次实操的云资源,如未领取请先点击领取。(若已领取请跳过)

image

重要

实验产生的费用优先使用优惠券,优惠券使用完毕后需您自行承担。

学生认证

第二步:进入并开通PAI ArtLab并授权

  • 点击访问PAI ArtLab平台

  • 初次进入平台,依次点击两步,完成ArtLab平台开通与授权

    image.pngimage.png

  • 完成PAI ArtLab平台开通与授权,进入到首页

    image

实验步骤

  • 1、拉起SD共享版服务

    来到首页工具箱,选择SD共享版工具(初次拉起需要一些时间请耐心等待)

    image

  • 2、选择生图模式

    先选择一个Stable Diffusion模型(模型推荐:revAnimated_v122),再选择文生图

    image

  • 3、在图上标注位置输入提示词

    • 负向提示词(可直接复制)

      ((blurred)), ((disorderly)), ((bad art)), ((morbid)), ((Luminous)), out of frame, not clear, overexposure, lens flare, bokeh, jpeg artifacts, glowing light, (low quality:2.0),((black color)), shadowlowers, bad anatomy, ((bad hands)), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, text, error

      image

    • 正向提示词

      正向提示词由:「内容」+「风格」两部分组成,在下方,我们为大家提前准备了两个部分的提示词,以供生图参考

      • 内容提示词参考

        • 美食场景

          • "A vibrant market filled with colorful fruits and delicious pastries."

          • "An elegantly arranged dinner table with a feast of various cuisines."

          • "Close-up of a beautifully garnished plate of fruits."

        • 旅行场景

          • "A breathtaking mountain view with a winding trail and blooming wildflowers."

          • "A cozy cafe by the beach, with surfers catching waves at sunset."

          • "An ancient city street bustling with tourists and street performers."

          • "The hillside is filled with houses under the blue sky."

        • 圣诞节场景

          • Snowflakes danced gently through the sparkling evening air.

          • The scent of pine and cinnamon filled the frosty breeze.

          • Twinkling lights adorned every tree, casting a warm glow.

          • Laughter echoed as children built snowmen in a winter wonderland.

        • 中秋场景

          • "A serene landscape under the full moon, with families enjoying mooncakes."

          • "Colorful lanterns lighting up a night market during the Mid-Autumn Festival."

          • "Children releasing paper lanterns into the night sky, surrounded by friends and family."

        • 插画图像

          • "A whimsical garden filled with fantasy creatures and vibrant flowers."

          • "A playful and imaginative cityscape with flying cars and vivid colors."

          • "An enchanted forest with magical trees and sparkling lights."

        • 抽象艺术

          • "Bold splashes of color intertwining to create a sense of movement and energy."

          • "Geometric shapes layered in unexpected ways, full of depth and intrigue."

          • "Dynamic lines and swirling patterns evoking emotions of chaos and harmony."

      • 风格提示词参考

        • style of Andreas Achenbach,painting,oil,landscape 适合风景

          image

        • style of Claude Monet,oil painting

          image

        • style of Vinvent Van gogh,oil painting

          image

        • style of Norman Ackroyd,aquatint,landscape,B&W 适合风景

          image

        • style of Mike Allred,DC,comic 适合人像

          image

        • style of Edwin Austin Abbey,illustration, painting,oil,pastel,ink,USA 适合场景

          image

        • style of Albrecht Altdorfer,painting,oil,engraving,germany, 16th century 适合风景

          image

        • style of Alois Arnegger, painting,oil,landscape,portrait,expressionism 适合风景

          image

        • style of Cuno Amiet,painting,oil,landscape,expressionism 适合风景

          image

        • style of Giuseppe Arcimboldo, painting,oil,landscape,portrait,expressionism 适合人像

          image

        • style of Agostino Arrivabene, painting,oil,landscape,surrealism,italychao 超写实

          image

        • style of John James Audubon,ornithology,illustration,Haiti,19th century

          image

        • birds in the forest,style of Alice Bailly, painting,oil,tempera

          image

        • style of Olivier Bonhomme,illustration,france

          image

        • style of Henri-Edmond Cross,oil,painting,landscape,pointillism

          image

  • 4、点击生成

    点击生成按钮,如果对与生成结果不满意可以多生成几次:)

    image

    imageimage

    image

清理资源

  • 如果无需继续使用工具,您可以按照以下操作步骤停止或删除工具。

    • PAI ArtLab控制台中,关闭Stable Diffusion(共享版)页签,EAS模型服务将会停止,不会继续收费。

      image

  • 前往PAI ArtLab控制台

  • 在页面左上方,选择模型所在地域,本实验EAS实例所在地域为华东2(上海)

  • 在左侧导航栏单击工作空间列表,在工作空间列表页面中单击默认工作空间名称,进入对应工作空间内。

  • 在工作空间页面的左侧导航栏中单击模型在线服务(EAS)。在模型在线服务(EAS)页面,找到目标服务。单击其右侧操作列下的删除

    • image

  • 如果需要继续使用Stable Diffusion(共享版),请随时关注账号扣费情况,避免模型会因欠费而被自动停止。

场景简介

  • 万物皆可艺术,来PAI ArtLab释放你的创意吧!

  • 在本实验场景中,将使用阿里云一站式 AIGC 设计平台 PAI ArtLab,云端一键启动 Stable Diffusion WebUI(共享版)工具,零代码无需部署即可体验 Stable Diffusion 文生图模型。本实验依赖两款云产品,分别是对象存储 OSS 和模型在线服务 PAI-EAS,对象存储 OSS 支持模型、图像、文本等文件的存储、预览及下载等能力。模型在线服务 PAI-EAS 支持利用云上 GPU 进行模型在线推理生图。

  • 本实验场景无需深奥的AI背景知识,只需启动生图工具,依据实验教程文档,在生图工具界面输入图像生成的提示词,即可轻松完成本实验获取AI生成图像,感受AIGC的魅力。

  • 在使用平台工具过程中,如有任何疑问和建议,您可以加入钉钉群(群号:88010006410)反馈,并获取技术支持。

背景知识

  1. 智能设计(PAI ArtLab)

    • PAI ArtLab是由阿里云人工智能平台PAI联合阿里云智能设计部共同打造的平台产品,面向设计场景,旨在为设计师提供自动化设计工具的一站式AIGC设计平台。平台打通了数据集管理与模型训练、AI绘图与在线推理的全场景链路,集成了主流的文生图类型的AIGC大模型工具及文生图模型开箱即用。设计师无需编程功底也可利用AI技术进行批量自动化图片生产,有效降低文生图大模型的使用学习成本和技术门槛,为设计想象力和设计生产力加速。帮助您在设计、艺术、创意行业快速应用AIGC能力。

  2. PAI ArtLab平台依赖以下两款云产品:

    1. 对象存储OSS:模型、图像、文本等文件的存储、预览及下载会消耗此产品资源;

    2. 模型在线服务PAI-EAS:利用云上GPU进行模型在线推理会消耗此产品资源;

      (在您使用平台、用代金券进行资源抵扣及付费购买的过程中,会感知到以上2款阿里云产

      品。

关闭实验

  • 在完成实验后,点击 结束实操

    image

  • 点击 取消 回到实验页面,点击 确定 跳转实验评分

    image

  • 请为本次实验评分,并给出您的建议,点击 确认,结束本次实验

    image