Skip to main content

ACE Music CLI

Create songs from an idea or custom lyrics, write lyrics, and retrieve the original task through Ace Data Cloud.

Documentation

This new package is prepared for release alongside the ACE Music API. Verify package/API publication before use. Source development: pip install -e ".[dev,test]".

Get an application API key at Applications. Check service access, allowed APIs, expiration and balance, then set the raw key privately:

export ACEDATACLOUD_API_TOKEN="your-api-key"
# After publication: pip install acemusic-cli
acemusic models
acemusic generate "A warm folk song about returning home"
acemusic generate --lyric-file lyrics.txt --style "warm acoustic folk" --title "Home"
acemusic lyrics "A song about returning home" --style "folk"
acemusic upload https://example.com/owned-audio.mp3 --name "My reference" --audio-id OWNED_ANCHOR_AUDIO_ID
acemusic cover OWNED_AUDIO_ID --lyric-file lyrics.txt --style "warm acoustic folk"
acemusic mashup OWNED_AUDIO_A OWNED_AUDIO_B --lyric-file lyrics.txt --style "warm acoustic folk" --audio-influence 60
acemusic task ORIGINAL_TASK_ID
acemusic wait ORIGINAL_TASK_ID --interval 10 --timeout 600
acemusic download ORIGINAL_TASK_ID --output ./songs
acemusic history --page 1 --page-size 20
acemusic assets upload https://example.com/melody.mid --type midi --idempotency-key import-01
acemusic assets get PLATFORM_ASSET_ID
acemusic assets list --type midi --page 1 --page-size 20
acemusic generate "Acoustic folk using this melody" --asset-id PLATFORM_ASSET_ID --asset-type midi --idempotency-key song-01

Generation submits once with async enabled and prints the task ID. Save it immediately. wait polls that same task and exits with an error on terminal failure or partial failure while preserving returned audio URLs. A wait timeout can be resumed with the original ID. A submission timeout has unknown outcome; reconcile it before another paid generation. Task lookup is authenticated and free. Lyrics are a separate priced request. Check current pricing for the applicable package.

Models: acemusic-v1.1 (default), acemusic-v1. Generation, cover and mashup target two MP3 candidates. Upload is a separate priced operation importing one track; it never creates a cover implicitly. Cover and mashup require acemusic-v1.1 (selected automatically), lyrics/style and caller-owned compatible platform audio IDs returned by successful tasks, not task IDs. Mashup takes exactly two distinct references. --audio-influence is 1–100 (default 60); title is optional for reference actions. An upload may use --audio-id to anchor it to an existing owned source for later reference use. Wait for the upload to succeed before using its returned audio ID. The service validates source ownership and compatibility; do not change references or upload again automatically on rejection. Final failed/partial generation groups and failed imports are free under current service rules. Continuation, voices, stems, WAV, MIDI and video export remain unsupported.

download accepts final Ace Data Cloud CDN audio URLs and preserves existing files. Tests mock HTTP and do not spend account credit. Run ruff check ., ruff format --check ., pytest and python -m build.

Asset imports use the assets API permission and are priced separately. After a successful import, use the asset ID and type from the original task’s response.data. Asset details and history are free. MIDI, image and video references require an enabled type and v1.1 idea generation.

Metadata

Release files for acemusic-cli 2026.11.29.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acemusic-cli 2026.11.29.6
File Size Uploaded Provenance Actions
acemusic_cli-2026.11.29.6.tar.gz 15.4 kB Without provenance Details for acemusic_cli-2026.11.29.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acemusic-cli 2026.11.29.6
File Interpreter ABI Platform Actions
acemusic_cli-2026.11.29.6-py3-none-any.whl Python 3 none any Details for acemusic_cli-2026.11.29.6-py3-none-any.whl

Total release size: 31.6 kB

Release files / acemusic_cli-2026.11.29.6.tar.gz

Download URL acemusic_cli-2026.11.29.6.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
729b61a630d293317284bbf988715060c753a9dde0b6a91d4f4a8a3f251d7f14
BLAKE2b-256 checksum
How to use checksums
ec1d2369f346e0ae1ab3cea45b1828c6ec241dc2ac18a73eb33ce223f7913e40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.14.4

Release files / acemusic_cli-2026.11.29.6-py3-none-any.whl

Download URL acemusic_cli-2026.11.29.6-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3e471e8a0a3d81b284cc742027bc5229238ca03b46a4695f38547c373c39a74
BLAKE2b-256 checksum
How to use checksums
e87e5c268f008545f4eebb7dc01770a951280dcf0b6a6379cf507308b4426a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.14.4

Security for acemusic-cli 2026.11.29.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page