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",
    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-0.1.1.tar.gz (12.2 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.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vesdk-0.1.1.tar.gz
  • Upload date:
  • Size: 12.2 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.1.tar.gz
Algorithm Hash digest
SHA256 f21c489f9e7b8425360ef4c08ca204123763d27006cdbc16311fe97757c2cc9e
MD5 44a87d201bd9db1d972f85cb9561c3a8
BLAKE2b-256 42e17ad804648403d3b26857f3e51d4c76c8459c3d2b309e6147b0789fc72c44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vesdk-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b0cc51c5ad733aaa7e585c8f999a5a3d1e3bfff6fbd5c810a5c4bfa93909ae2
MD5 36637d6015a7f1fa97c308a34fdcad11
BLAKE2b-256 e24e1bd5f12967938836561ee821f3fbcdd3a7a4e091d4422f8ab1b1050e072a

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