AceDataCloud CLI
Unified command-line interface for all AceDataCloud AI services — images, videos, music, and search.
Get your Ace Data Cloud API key
- Open Ace Data Cloud → Applications. Sign in, or register an account first.
- Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
- In General application → API KEY, click the copy button marked 1 below. Use the raw token value without quotes, spaces or
Bearer. Aplatform-...account-management token cannot replace it.
Check the key's service access and balance before submitting; task lookup permission alone does not permit generation. See the detailed key guide (English).
Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
Installation
pip install acedatacloud-cli
Use adc services to list the built-in routes. For Nano Banana, both --service nano-banana and --service nanobanana work for images and task lookups. Sora generation is retired. For new videos, select Seedance, Veo, Luma, or Kling.
Quick Start
export ACEDATACLOUD_API_TOKEN=YOUR_API_TOKEN
adc image "Minimal editorial product illustration: one plain white ceramic coffee mug centered on a solid cobalt blue tabletop, pale cream background, soft shadow, clean geometric shapes, no text, no logo, portrait composition" --service gpt-image --model gpt-image-2 --size 1024x1536 --json
Documented result, showing only the image-delivery field (your image will differ):
{"data": [{"url": "https://cdn.acedata.cloud/18240dc44b9c.png"}]}
This synchronous command waits for the image. Open or download data[0].url. The image generation guide (English) records this prompt, model, size and result. Account and regional availability still apply.
More examples
# Save your API token
adc auth login
# Generate an image
adc image "A sunset over mountains, photorealistic"
# Generate a video
adc video "A cinematic ocean scene"
# Generate music
adc music "Upbeat electronic dance track"
# Search the web
adc search "artificial intelligence"
# Check task status
adc task abc123 -s flux
# Wait for completion
adc wait abc123 -s flux
Find a service by name
adc packages suno
adc packages "gpt image" --json
adc packages "nano banana"
This local directory shows Ace-maintained service packages and their observed publication state. It never installs a package or submits a request. HappyHorse's standalone CLI is published; its directory entry carries the exact first-release version/hash/install receipt. The independent MCP entry remains available. See the service-name directory for publisher checks and first-use steps.
GPT Image and Kling
Choose the GPT Image model explicitly. The default request waits for the images. Its result includes data[].url or data[].b64_json. Pass --async to request a task ID for later lookup, and --json to preserve the entire response. An image URL selects the edit operation.
adc image "A red fox in the snow" --service gpt-image --model gpt-image-2 --size 1024x1024
adc image "Add a blue scarf" --service gpt-image --model gpt-image-2 --image-url https://example.com/fox.png --async --json
adc task TASK_ID --service gpt-image --json
Kling returns a task ID for video generation. Use --image-url for an opening reference frame, or omit it for text-to-video. Model, mode, duration and aspect ratio are passed through to the Kling API.
adc video "A heron lands by the lake" --service kling --model kling-v3 --mode pro --duration 5 --aspect-ratio 16:9
adc video "Slow pan toward the horizon" --service kling --image-url https://example.com/landscape.jpg
adc wait TASK_ID --service kling --json
Trial accounts and overlapping requests
If your account has never completed a paid recharge or received an administrator's
manual credit addition, run only one billable request at a time across all API keys
and services. Rewards, redemption cards and transferred credits do not remove this
account-wide limit. The read-only user flag has_recharged is managed by the
platform, not a CLI setting; eligible accounts still follow normal balance and key
usage checks.
HTTP 429 too_many_requests can mean another request is still running. The CLI
reports the API error and exits nonzero without automatically retrying. Asynchronous
acceptance does not release the slot: save the original task_id and use
adc task TASK_ID --service SERVICE or adc wait TASK_ID --service SERVICE until
its final result before starting another generation. Free task polling remains
available. A disconnect or proxy timeout does not cancel the task; if it has no
terminal result for an extended period, retain its trace_id and contact support
instead of blindly resubmitting. Trial access and usage-based billing are unchanged.
Configuration
Get your API token at platform.acedata.cloud.
# Option 1: Login command (saves to ~/.config/adc/config)
adc auth login
# Option 2: Environment variable
export ACEDATACLOUD_API_TOKEN=your_token
# Option 3: Per-command flag
adc --token your_token image "A sunset"
Commands
Image Generation
adc image "A sunset over mountains" # Flux (default)
adc image "Logo design" --service seedream # Seedream
adc image "Add sunglasses" --image-url https://... # Edit with Flux
adc image "A landscape" -m flux-pro-1.1-ultra -s 16:9 # Custom model & size
For Nano Banana, --size auto selects prompt-inferred aspect ratio (not
resolution); explicit ratios such as 16:9 and resolutions such as 2K
retain their meanings. Both service aliases work for generation and editing:
adc image "A wide landscape" --service nano-banana --model nano-banana-2.1 --size auto --json
See the Nano Banana guide (English).
Video Generation
adc video "A cinematic sunset" # Luma (default)
adc video "Clouds moving" --service veo # Veo
adc video "Dance scene" --service seedance # Seedance
adc video "Cat playing" --loop -a 16:9 # Loop + aspect ratio
Music Generation
adc music "An upbeat electronic dance track"
adc music "Calm piano jazz" --instrumental
Web Search
adc search "artificial intelligence"
adc search "tech news" -t news --time-range qdr:d
adc search "sunset photos" -t images -c us
Task Management
adc task abc123 -s flux # Check task status
adc task def456 -s luma --json # JSON output
adc wait abc123 -s flux # Wait for completion
adc wait def456 -s suno --interval 10 --timeout 300
Info & Auth
adc services # List all available services
adc config # Show configuration
adc auth login # Save API token
adc auth status # Check auth status
JSON Output
All commands support --json for machine-readable output:
adc image "A sunset" --json | jq '.task_id'
adc search "test query" --json | jq '.organic[].title'
Supported Services
| Service | Type | Command |
|---|---|---|
| Flux | Image | adc image --service flux |
| Seedream | Image | adc image --service seedream |
| NanoBanana | Image | adc image --service nanobanana |
| Suno | Music | adc music |
| Luma | Video | adc video --service luma |
| Veo | Video | adc video --service veo |
| Seedance | Video | adc video --service seedance |
| SERP | Search | adc search |
Development
# Install with dev dependencies
pip install -e ".[all]"
# Run tests
pytest
# Lint
ruff check .
ruff format --check .
License
MIT
Metadata
Release files for acedatacloud-cli 2026.11.29.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| acedatacloud_cli-2026.11.29.0.tar.gz | 29.0 kB | Without provenance | Details for acedatacloud_cli-2026.11.29.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acedatacloud_cli-2026.11.29.0-py3-none-any.whl | Python 3 | none | any | Details for acedatacloud_cli-2026.11.29.0-py3-none-any.whl |
Total release size: 54.1 kB
Release files / acedatacloud_cli-2026.11.29.0.tar.gz
| Download URL | acedatacloud_cli-2026.11.29.0.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea366a6d96987c6f8c3fed5efa8edf8b82a6d29d2ba6168be1c27993ac3ff7da
|
|
BLAKE2b-256 checksum How to use checksums |
9325ccc0fc173918d2c7bc8a399028e8a3c2c27b5b93bd61b4a3c120a931e76d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / acedatacloud_cli-2026.11.29.0-py3-none-any.whl
| Download URL | acedatacloud_cli-2026.11.29.0-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8ab70d86b07a29a2197d739dea5273f6b6ee97864a1b7b2f6c275fce43f7003
|
|
BLAKE2b-256 checksum How to use checksums |
2e3b6b6b44975669f1135e32f5cf09ce75437804caab435dc737c1a924076e35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for acedatacloud-cli 2026.11.29.0
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.