Skip to main content

VoiceForge — Real-Time Voice Conversion API Client

Project description

VoiceForge Python SDK

Real-time voice conversion API client for Python.

Install

pip install voiceforge

Quick Start

from voiceforge import Client

client = Client(api_key="vf_...")

# List available voices
voices = client.list_voices()

# Convert a file
result = client.convert("input.wav", voice_id="deep_male_01")
result.save("output.wav")
print(f"Converted in {result.latency_ms}ms")

# Check usage
usage = client.get_usage()
print(f"{usage.minutes_remaining} minutes remaining")

Async Client

from voiceforge import AsyncClient

async with AsyncClient(api_key="vf_...") as client:
    result = await client.convert("input.wav", voice_id="deep_male_01")

Real-Time Streaming

from voiceforge import AsyncClient

async with AsyncClient(api_key="vf_...") as client:
    async with client.stream("deep_male_01", pitch_shift=2) as session:
        await session.send(audio_chunk)
        converted, latency = await session.receive()

Documentation

Full docs at docs.voiceforge.ai

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

voiceforge_sdk-0.6.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

voiceforge_sdk-0.6.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file voiceforge_sdk-0.6.0.tar.gz.

File metadata

  • Download URL: voiceforge_sdk-0.6.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for voiceforge_sdk-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b1ad63998e5e76a7d3a38ce470d8c55ea992be17be28c05fca82e35de31c309b
MD5 f3feee52401dfd77fba3b96089b76c49
BLAKE2b-256 4ee5886494bbe9f82304a84d9d580855413901af4cb8ec60780311abd91ebbab

See more details on using hashes here.

File details

Details for the file voiceforge_sdk-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: voiceforge_sdk-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for voiceforge_sdk-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b71434b366b2032a5b2a14088e8198a5314d0641e4bb7bcf9bbcb8f438a003
MD5 8f52c43b59df1e7ad350098eb17f9f2c
BLAKE2b-256 32b14113388c21cb8a7a5d8b12a1f4c4773306f09a87a1c564c606d4949a594e

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