基于函数计算部署Stable Diffusion:一、创建函数计算应用

54阅读
0评论
0点赞

本文详细介绍了如何通过阿里云的函数计算服务快速部署Stable Diffusion应用的过程。从访问函数计算控制台开始,经过创建应用、选择模板、配置信息等步骤,最终实现Stable Diffusion图像生成平台的成功部署。用户可以利用该平台提供的功能,输入提示词来生成各种风格的图像。

创建函数计算应用

1. 访问函数计算控制台

访问函数计算控制台,在左侧导航栏中点击应用

访问函数计算控制台

2. 创建新应用

如果您之前使用过应用中心,点击应用后会看到如下页面,此时请点击创建应用继续。

创建新应用

3. 查找并选择应用模板

在应用页面,搜索并选择AI数字绘画stable-diffusion自定义模型版,然后点击立即创建

查找并选择应用模板

4. 选择部署方式

在创建应用页面,选择直接部署

选择部署方式

5. 确认配置信息

确认相关配置信息,可以选择默认设置,包括地域(默认为杭州)和绘图类型(推荐选择“动漫风格”)。点击创建应用

确认配置信息

6. 授权角色

关注页面上的角色名称部分,如需授权,请点击前往授权进行授权操作。

授权角色

授权完成后可能会提示成功消息。

授权成功

7. 同意并部署

部署前,请仔细阅读相关提醒,确保自己已了解并同意所有条款,点击同意并继续部署,等待部署完成。

同意并部署 部署过程

8. 进入Stable Diffusion图像生成平台

部署完成后,点击WebUI域名进入Stable Diffusion图像生成平台。

进入Stable Diffusion图像生成平台

9. 开始生成图像

进入Stable Diffusion后,输入提示词开始生成图像。

开始生成图像

Stable Diffusion 提示词案例

  • 风格
    • 提示词:a realistic San-Francisco cityscape, from the roof, tall terrace, hills, Golden Gate, houses, parks, and hell bursting in style of Wayne Thiebaud and Bosch
    • 提示词:chaotic hand drawing colored sketch illustration retro of dolores park san francisco, birds eye view, illustrated by hergé and Tardi, style of tin tin comics, pen and ink
    • 提示词:“floral astronaut” hand-drawn watercolor, muted tones, flowers everywhere, REALISTIC
    • 提示词:Vintage 90's anime style. cluttered starship interior; captain piloting a starship; by hajime sorayama, greg tocchini, virgil finlay, sci-fi, colors, neon lights. line art.
    • 提示词:maximalist chaotic San Francisco, birds eye view, illustrated by Hergé, style of tin tin comics, pen and ink
    • 提示词:isomorphic pixel art farmville in 2d
    • 提示词:peasant and dragon combat, wood cutting style , viking era, bevel with rune
  • 室内
    • 提示词:interior design, open plan, kitchen and living room, modular furniture with cotton textiles, wooden floor, high ceiling, large steel windows viewing a city
    • 提示词:environment living room interior, mid century modern, indoor garden with fountain, retro, vintage, designer furniture made of wood and plastic, concrete table, wood walls, indoor potted tree, large window, outdoor forest landscape, beautiful sunset, cinematic, concept art, sunstainable architecture, octane render, utopia, ethereal, cinematic light
  • 动物
    • 提示词:A painting of a cute goldendoodle in the sky, wearing a suit, natural light, with bright colors, by Studio Ghibli
    • 提示词:a mix between Cinnamoroll and My Melody from Sanrio, anime 2D style
  • 人物
    • 提示词:portrait of Lucy, Cyberpunk anime, clean skin, hazel eyes, intricate artwork by Joaquin Sorolla, soft natural light, 85mm, sunshine on her face, lights and shadows
  • 风景
    • 提示词:a painting of a beyond-dimensional fantasy world, a world of under the sea, Atlantis, science fiction, uplighting, studio Ghibli, unreal engine, epic composition, CG digital render, Ultra HD, technique highly detailed, triadic color scheme
    • 提示词:a painting of a beyond-dimensional fantasy world, reality infused with dreams, the mountian tops were hidden beneath a veil of mist, a cherry blossom with gentle breeze, uplight, atmospheric, epic composition, unreal engine, a screenshot from science fiction anime film by makoto shinkai
    • 提示词:in a screenshot from the science fiction anime film by makoto, sunset and sunset clouds over the sea, james Gurney, cgsociety, vary
    • 提示词:wave, nightsky, nebula, colorful stars, animation, CG digital rendering, whale, vary, technique highly detailed, ultrawide shot, no clouds, Ultra HD
    • 提示词:Arches National Park, under the rock, in the evening, nightsky, reality infused with dreams, upscaled, triadic color scheme, epic composition, CG digital rendering, Studio Ghibli, unreal engine, atmospheric, omit the people

评论(0)
暂无评论,期待您的发言...
发表评论