# create_music

Canonical URL: https://developers.iagenify.com/zh/sdk/agent/tools/create-music/
Language: zh

`create_music({ prompt, duration?, tempo?, style?, path? })`

制作一个短的音乐剪辑并保存下来。 价格是平的, 不管长度如何 。

Status: category: write · ~15 credits, flat · 1 to 120 seconds

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `prompt` | string | 必填 | 创造什么? |
| `duration` | number | 10 | 秒 1到120 **价格不会随价格而改变。** |
| `tempo` | number | 120 | 每分钟的比特。 |
| `style` | string | classical | 流派或情绪 `lo-fi`, `cinematic`. |
| `path` | string |  | 在哪里保存它。 |

## 长短短短短短的剪贴成本与短短的剪短的一样 {#flat}

> **使用一个不设长度的媒体工具**
>
> 图像按分辨率和视频按秒计算价格; 这张是平的。 想要90美元, 需要10秒, 并且给您更少。

## 用途 {#use}

在一个叙述下的床下,一个短短的刺,一个弹夹背后的一副动画。 更精确地说,结果是一个起点,而不是交付品。

## 两种音频工具都写音频 {#audio}

音频和音乐地是工作空间的音频文件。 如果运行同时产生, 或第二次重叠只会混淆一切, 则给他们不同的路径 。

- [create_voice](/zh/sdk/agent/tools/create-voice): 大声念
- [智能体工具](/zh/sdk/agent/tools): The 35, by family.
