Skip to main content

火山引擎SDK,支持大模型文本生成、视觉模型文生图、语音合成、视频生成等API

Project description

veSDK

火山引擎SDK,支持以下功能:

  • 大模型文本生成(chat接口)
  • 视觉模型文生图接口
  • 语音合成模型生成audio接口
  • 视觉模式生成视频video接口
  • 会话记忆相关接口
  • 知识库相关接口

安装

pip install veSDK

使用示例

from vesdk import VolcEngineClient

# 初始化客户端
client = VolcEngineClient(
    access_key_id="your_access_key_id",
    secret_access_key="your_secret_access_key",
    region="cn-north-1"
)

# 文本生成示例
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-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vesdk-0.1.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file vesdk-0.1.0.tar.gz.

File metadata

  • Download URL: vesdk-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for vesdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbff26971be00af16d949930805984727a585ff18abd865c02857913b24b4d90
MD5 34efc821a8a3a31694940260cbd42ce3
BLAKE2b-256 e6985496cf0e58ca1bd40cf04eabb25721ef6d6000c45d09d59bee60132139bb

See more details on using hashes here.

File details

Details for the file vesdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vesdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for vesdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e69b3c79fd78e5f3ed0867f882c1d973c86bcc010ab458842e63fe5c9ceb774
MD5 652112101f8d615aff07be05f3e7cd65
BLAKE2b-256 82e2518750fe20c328c02471a51646d41dd450bc2da5fc7acfdc51f9f3606651

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page