kindstring必填image · video · voice · music.
promptstring必填创造什么,一个声音,确切的字眼
modelstring哪种模型 一种明智的违约
settingsobject分辨率 持续时间 音频 声音 节奏...
imagestring一张开始的图片 仅用于 video 和 image.
storage · pathstring省省吧,不要还回去
对照网格检查设置
设置一个无法荣誉的模型时被拒绝保存
模型上的音频没有声音,或者没有产生决议,否则就会回到该模型最昂贵的行——在开出另一个时产生一种格式,在仍然在读信息时拒绝使用。
image 音乐或音乐步骤也被拒绝:它会被接受,然后被忽略,这比失败更糟糕——你会相信这张照片被算计。
{ id: "cover", type: "media.generate", config: {
kind: "image", prompt: "A quiet harbour at dawn, flat illustration",
settings: { resolution: "2K" },
storage: "…", path: "covers/{{input.week}}.png" } }{"id": "cover", "type": "media.generate", "config": {
"kind": "image", "prompt": "A quiet harbour at dawn, flat illustration",
"settings": {"resolution": "2K"},
"storage": "…", "path": "covers/{{input.week}}.png"}}输出
{{steps.cover.output.kind}}
{{steps.cover.output.mime}}
{{steps.cover.output.path}} // when it was saved
{{steps.cover.output.content}} // when it was not"{{steps.cover.output.kind}}"
"{{steps.cover.output.mime}}"
"{{steps.cover.output.path}}" # when it was saved
"{{steps.cover.output.content}}" # when it was not代价昂贵的一步
视频每秒价格,可以运行数百个信用额度。 预定的触发程序是每次开炮都要支付,而每次开炮都无人决定。