Sogni AI icon

Sogni AI

Generate AI images, videos, and LLM responses using Sogni AI Supernet

Actions18

Video → Estimate Cost

AI-generated

Summary

Estimate the cost for generating videos with a specified video model and parameters such as resolution, frame rate, duration, and number of videos.

Inputs

  • Model Search — Optional text to filter available video models by name or tag.
  • Model (required) — Select a video model from the list or enter a known model ID to estimate cost for.
  • Width — Estimated output video width in pixels, typically a multiple of 16, between 480 and 1536.
  • Height — Estimated output video height in pixels, typically a multiple of 16, between 480 and 1536.
  • FPS — Estimated frames per second for the video, between 1 and 60.
  • Steps — Number of inference steps to be used for cost estimation, between 1 and 100.
  • Duration (seconds) — Estimated duration of the video in seconds, between 1 and 10.
  • Frames (Optional) — Optional explicit number of frames; if set, this is sent alongside the duration for estimation.
  • Number of Videos — How many videos to estimate cost for, between 1 and 10.
  • Token Type — Token type to use for the estimate; options are 'Spark' or 'SOGNI'.

Output shape

a JSON object containing estimated cost details for generating the specified video(s).

The returned cost estimate reflects the parameters provided, including model, resolution, FPS, steps, duration or frames, and number of videos. The estimate response format depends on the Sogni API and node implementation but typically includes pricing or token cost data.

Links

Discussion