立即开始
Dreamstudio Tools

Dreamstudio Generate Image From Text

通过 Aident Loadout 使用 Dreamstudio Tools 的 Dreamstudio Generate Image From Text。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Generate images from text prompts using Stability AI's text-to-image models. Use when you need to create images from textual descriptions without a reference image. Supports multiple prompts with weights, configurable dimensions, and various generation parameters.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • seedinteger
    Random seed for reproducible generation. Use the same seed with same parameters to get identical results. If omitted, a random seed is used.
  • stepsinteger
    Number of diffusion steps. More steps generally improve quality but take longer. Typical range: 30-50. If omitted, engine's default is used.
  • widthinteger
    Width of generated image in pixels. Must be a multiple of 64. Constraints: For 768 engines: 589,824 ≤ height*width ≤ 1,048,576. For other engines: 262,144 ≤ height*width ≤ 1,048,576. If omitted, engine's default width is used.
  • heightinteger
    Height of generated image in pixels. Must be a multiple of 64. Constraints: For 768 engines: 589,824 ≤ height*width ≤ 1,048,576. For other engines: 262,144 ≤ height*width ≤ 1,048,576. If omitted, engine's default height is used.
  • samplerstring
    Available sampler algorithms for image generation.
  • samplesinteger
    Number of images to generate in a single request. Default is 1. Higher values consume more API credits.
  • cfg_scalenumber
    Classifier-Free Guidance scale - how strictly to follow the text prompt. Higher values (7-15) follow prompt more closely, lower values (1-7) allow more creative freedom. If omitted, engine's default is used.
  • engine_idstring
    必填
    Engine identifier for generation (e.g., 'stable-diffusion-v1-5', 'stable-diffusion-xl-1024-v1-0'). Use DREAMSTUDIO_LIST_ENGINES to get available engines. Using invalid engine_id will cause the request to fail.
  • organizationstring
    Organization ID to scope the request to. If not provided, uses the user's default organization from their account.
  • text_promptsarray
    必填
    List of text prompts with optional weights. At least one prompt is required.
  • clip_guidance_presetstring
    CLIP guidance presets for text-to-image generation.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源