🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Phosor AI

by @jasonstarlight

Generate AI videos (text-to-video, image-to-video) with optional custom LoRA styles via the Phosor AI platform. Supports importing images and LoRA models fro...

Versionv1.0.2
πŸ’‘ Examples

Text-to-Video

# Submit T2V job (480p, 81 frames, 16fps)
python3 scripts/phosor_client.py submit "A cat walking on a beach at sunset" \
  --width 854 --height 480 --num-frames 81 --fps 16

Check status

python3 scripts/phosor_client.py status

Get result (video URL)

python3 scripts/phosor_client.py result

Image-to-Video

Two-step flow: upload image first, then submit with the returned S3 key.

# Step 1: Upload image
python3 scripts/phosor_client.py upload-image /path/to/photo.jpg

Returns: {"file_id": "img-xxx", "s3_key": "images/img-xxx.jpg", ...}

Step 2: Submit I2V job using the s3_key as image_url

python3 scripts/phosor_client.py submit "The person in the photo starts dancing" \ --image-url "images/img-xxx.jpg" --width 854 --height 480

With Custom LoRA

Upload your own LoRA model, then use it in video generation.

# Upload LoRA (two .safetensors: high_noise + low_noise)
python3 scripts/phosor_client.py upload-lora high_noise.safetensors low_noise.safetensors --name "My Style"

Check upload status

python3 scripts/phosor_client.py lora-status

Use in inference

python3 scripts/phosor_client.py submit "A person walking" --lora-id --lora-scale 1.0

Or import LoRA from URLs

python3 scripts/phosor_client.py import-lora \ "https://example.com/high_noise.safetensors" \ "https://example.com/low_noise.safetensors" \ --name "My Style"

βš™οΈ Configuration

1. Sign up or log in at phosor.ai 2. Go to Settings β†’ API Keys to generate your API key 3. Set it as an environment variable:

export PHOSOR_API_KEY="your-api-key-here"

> Keep your API key secret. Do not commit it to version control or share it publicly. All API calls are authenticated and billed through this key.

The CLI script is at scripts/phosor_client.py. All commands output JSON to stdout.

Local files used by the CLI:

  • Writes phosor-pending.json to track pending job states locally
  • View on ClawHub
    TERMINAL
    clawhub install phosor-ai

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’