Skip to main content

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 generate
  • model (str): Model to use (default: "nano-banana-2")
  • size (str): Image size (default: "2K")

Video Generation

  • prompt (str): Description of the video to generate
  • model (str): Model to use (default: "seedance-1.5-pro")
  • duration (int): Video duration in seconds (default: 5)

Links

License

MIT License

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

arkroute-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

arkroute-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for arkroute-0.1.0.tar.gz
Algorithm Hash digest
SHA256 775c5c7000149b47600c3e7740255505984eab3a70f51578bd7549ef5b891ac5
MD5 06b6b9a450b16e845b065a333090efc7
BLAKE2b-256 8bc7e44272726476d4f0681a8c02b3b33c7a79ba929f11abc3002a287ae4d519

See more details on using hashes here.

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

Hashes for arkroute-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 592f9a7de3c97be41b18bdeee3a0fbeccbd1d1b47c419be73c5a70efdbf820d0
MD5 80abd7789a8a42c34a007013a39c56c3
BLAKE2b-256 cd5092c9a5e093803d4f02e77f6239ef6d2ce89cc900820f390168ce835c77a7

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