ArkRoute Python SDK
One API for the best image & video generation AI models.
Access powerful AI models like Nano Banana, Seedance, and more through a simple Python interface.
Installation
pip install arkroute
Quick Start
from arkroute import ArkRoute
# Initialize client
client = ArkRoute(api_key="your_api_key")
# Generate an image
result = client.generate_image(
prompt="A beautiful sunset over mountains",
model="nano-banana-2",
size="2K"
)
print(result["url"])
# Generate a video
video_job = client.generate_video(
prompt="A cat playing in a garden",
model="seedance-1.5-pro",
duration=5
)
# Check video status
status = client.get_video_status(video_job["task_id"])
print(status["state"])
# List available models
models = client.list_models()
print(models)
Available Models
Image Generation
- nano-banana-2 - High-quality image generation
- seedream-v1 - Creative image synthesis
Video Generation
- seedance-1.5-pro - Professional video generation
- kling-v1 - Fast video creation
Parameters
Image Generation
prompt(str): Description of the image to generatemodel(str): Model to use (default: "nano-banana-2")size(str): Image size (default: "2K")
Video Generation
prompt(str): Description of the video to generatemodel(str): Model to use (default: "seedance-1.5-pro")duration(int): Video duration in seconds (default: 5)
Links
- Website: https://ark-route.com
- API Documentation: https://api.ark-route.com/docs
- GitHub: https://github.com/guixiang123124/arkroute
- Get API Key: https://ark-route.com/dashboard
License
MIT License
Metadata
Release files for arkroute 0.1.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 | |
|---|---|---|---|---|
| arkroute-0.1.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arkroute-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / arkroute-0.1.0.tar.gz
| Download URL | arkroute-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
775c5c7000149b47600c3e7740255505984eab3a70f51578bd7549ef5b891ac5
|
|
BLAKE2b-256 checksum How to use checksums |
8bc7e44272726476d4f0681a8c02b3b33c7a79ba929f11abc3002a287ae4d519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / arkroute-0.1.0-py3-none-any.whl
| Download URL | arkroute-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
592f9a7de3c97be41b18bdeee3a0fbeccbd1d1b47c419be73c5a70efdbf820d0
|
|
BLAKE2b-256 checksum How to use checksums |
cd5092c9a5e093803d4f02e77f6239ef6d2ce89cc900820f390168ce835c77a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for arkroute 0.1.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.