One API for the best image & video generation AI models
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arkroute-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arkroute-0.1.0.tar.gz.
File metadata
- Download URL: arkroute-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
775c5c7000149b47600c3e7740255505984eab3a70f51578bd7549ef5b891ac5
|
|
| MD5 |
06b6b9a450b16e845b065a333090efc7
|
|
| BLAKE2b-256 |
8bc7e44272726476d4f0681a8c02b3b33c7a79ba929f11abc3002a287ae4d519
|
File details
Details for the file arkroute-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arkroute-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
592f9a7de3c97be41b18bdeee3a0fbeccbd1d1b47c419be73c5a70efdbf820d0
|
|
| MD5 |
80abd7789a8a42c34a007013a39c56c3
|
|
| BLAKE2b-256 |
cd5092c9a5e093803d4f02e77f6239ef6d2ce89cc900820f390168ce835c77a7
|