火山引擎SDK,支持大模型文本生成、视觉模型文生图、语音合成、视频生成等API
Project description
vesdk
火山引擎SDK,支持以下功能:
- 大模型文本生成(chat接口)
- 视觉模型文生图接口
- 视觉模式生成视频video接口
- 会话记忆相关接口
- 知识库相关接口
安装
pip install vesdk
使用示例
from vesdk import VolcEngineClient
# 初始化客户端
client = VolcEngineClient(
access_key_id="your_access_key_id",
secret_access_key="your_secret_access_key",
api_key="your_api_key"
)
# 文本生成示例
response = client.text_generation.chat(
model="doubao-1-5-pro-32k-250115",
messages=[
{"role": "user", "content": "你好!"}
]
)
print(response)
文档
请参考官方文档获取更多信息。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vesdk-1.0.1.tar.gz
(12.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vesdk-1.0.1-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file vesdk-1.0.1.tar.gz.
File metadata
- Download URL: vesdk-1.0.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8ccc5d78f3ff549332f73751517ba6a5de5587dbfd0677a4e828a6a847840f0
|
|
| MD5 |
e96cf6c04ad5ece3d0c7c3007a4661eb
|
|
| BLAKE2b-256 |
c9b8877c1f3bcfcd96657ee164755147b14c028eeab819e9281c11a4c4effd28
|
File details
Details for the file vesdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: vesdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fb17f69410be81e73c3a678d18c3ff6c174c10e4380665db9847434b9ac2669
|
|
| MD5 |
d04a55314ac40e43cb44c1c08cb3a65c
|
|
| BLAKE2b-256 |
88911313d2209e3c7db9173e4faa6ef10072fcb365b5513c1ceb4eaa938911dd
|