Allegro

ALLEGRO

Allegro from Rhymes AI turns a text prompt into a 6-second 1280x720 video clip.

Video Generationtext-to-videoallegroapache-2.0
Allegro: Video Generation model on Kainguru

About Allegro

Allegro generates a 6-second video clip from a text prompt. It is a 2.8B-parameter diffusion transformer with a 175M-parameter video VAE, published by Rhymes AI. The weights are rhymes-ai/Allegro at revision c1b9207bb5cb79e2aa08f3d139c17d26c0de55b6. The model card states the licence as Apache-2.0: https://huggingface.co/rhymes-ai/Allegro. The safetensors weights (text encoder, transformer, and VAE) are 25,293,069,108 bytes. The repository also carries duplicate PyTorch .bin shards of the text encoder; those are not loaded.

Generation settings

Taken from the model card's quick start and its specification table at that revision:

  • Pipeline class AllegroPipeline, torch_dtype=torch.bfloat16. The VAE is loaded with AutoencoderKLAllegro in torch.float32, which the card lists as the best VAE precision, then passed into the pipeline. pipe.vae.enable_tiling() is on, and the pipeline is moved to the GPU.
  • Positive template, applied to the lower-cased prompt:
(masterpiece), (best quality), (ultra-detailed), (unwatermarked),
{}
emotional, harmonious, vignette, 4k epic detailed, shot on kodak, 35mm photo,
sharp focus, high budget, cinemascope, moody, epic, gorgeous
  • Negative prompt from the same example: nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry.
  • guidance_scale=7.5, max_sequence_length=512.
  • The quick start calls the pipeline with num_inference_steps=100. This service defaults the step control to 30 and caps it at 40: a step takes close to a minute on this slice, so the card's 100 would run well past an hour.
  • Resolution on the card is 720 x 1280. That matches the pipeline default of height 720 and width 1280 (a 1280×720 frame). Frames: 88. Video length: 6 seconds at 15 FPS.

The card's quick start saves the clip with a video export helper. This service writes the same frames with OpenCV at 15 FPS.

Hardware and runtime

The model runs on an NVIDIA A100 slice of class mig3g (40 GB of GPU memory, 48 GiB of RAM). The card reports about 27.5 GB of GPU memory without CPU offload and about 9.3 GB with sequential CPU offload. This slice keeps the pipeline on the GPU. A step takes close to a minute, so a clip at the default 30 steps takes about half an hour, and one at 40 steps about 40 minutes.

Limits

One clip per request. Frame count, frame rate, and resolution are fixed at the card's 88 frames, 15 FPS, and 720×1280. Prompts longer than 1000 characters are refused. The model can invent motion, miss details in the prompt, or produce distorted anatomy. It does not edit an existing video and it does not add audio.

Allegro inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—Text description of the 6-second video to generate.
Max 1000 characters
num_inference_stepsintegerNo30Denoising steps. The model card's example uses 100; this service allows up to 40 so a clip finishes within the hour.
10–40
guidance_scalenumberNo7.5How closely the clip follows the prompt. The model card uses 7.5.
1–15
seedintegerNo-1Repeat a previous result. Leave at -1 for a new one each time.
Max 2147483647

Output. Returns binary file.

Run Allegro with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=ALLEGRO" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "example",
    "guidance_scale": 7.5,
    "num_inference_steps": 30,
    "seed": -1
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "ALLEGRO",
        {
          "prompt": "example",
          "guidance_scale": 7.5,
          "num_inference_steps": 30,
          "seed": -1
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Allegro pricing

Price per request: 275.22 credits ($2.7522). The price is shown again before every run; all prices are on the pricing page.

Licence and source

Wan 2.2 T2V A14B: Video Generation model on Kainguru
Video Generation

Wan 2.2 T2V A14B

Turn a prompt into a video of up to 3 seconds at 480p, and teach it a style, subject or motion from your own clips.

Fine-tunable
CogVideoX 2B: Video Generation model on Kainguru
Video Generation

CogVideoX 2B

Text-to-video model (CogVideoX 2B) that turns an English prompt into a 720 x 480 video of up to 6 seconds at 8 frames…

Fine-tunable
Fastwan 2 1 T2v 1 3B: Video Generation model on Kainguru
Video Generation

Fastwan 2 1 T2v 1 3B

FastWan 2.1 (1.3B): a distilled Wan 2.1 that turns a text prompt into a short 480p clip in a few steps.

Fastwan 2 2 Ti2v 5B: Video Generation model on Kainguru
Video Generation

Fastwan 2 2 Ti2v 5B

FastWan 2.2 (5B): a short video clip from a text prompt, optionally continuing from a photo as the first frame.

Wan 2.1 T2V 1.3B: Video Generation model on Kainguru
Video Generation

Wan 2.1 T2V 1.3B

Text-to-video model (Wan 2.1, 1.3B) that turns a prompt into a video of up to 5 seconds at 480p, and can learn a…

Fine-tunable
Wan 2.2 TI2V 5B: Video Generation model on Kainguru
Video Generation

Wan 2.2 TI2V 5B

Text-to-video model (Wan 2.2 TI2V, 5B) that turns a prompt into a 720p video of up to 5 seconds at 24 frames per…

Fine-tunable