Skip to main content
ArtEmotion
Video

Trim Video

Flat 2 credits per generation. Supports reference video.

Output
video

Inputs

  • Reference video (required)

Example prompt

Upload a video and set start/end times to cut out a precise clip
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/workflow-utilities/trim-video.

POST/api/v1/generate11 fields · 2 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
promptstringOptionalOptional model input.
durationnumberOptionalDuration in seconds from start_time. Ignored if end_time is provided. · Default: 2
start_timenumberOptionalStart time in seconds · Default: 1 · Range: 0–…
end_timenumberOptionalEnd time in seconds. If not provided, uses duration instead.
video_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "fal-ai/workflow-utilities/trim-video",
  "video_url": "https://example.com/video"
}
Raw JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fworkflow-utilities%2Ftrim-video",
  "title": "Trim Video generation request",
  "description": "Request body accepted by POST /api/v1/generate for fal-ai/workflow-utilities/trim-video.",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "const": "fal-ai/workflow-utilities/trim-video",
      "description": "ArtEmotion model identifier."
    },
    "extra": {
      "type": "object",
      "additionalProperties": true,
      "description": "Model-specific settings may also be nested here."
    },
    "max_credits": {
      "type": "number",
      "minimum": 1,
      "description": "Reject before submission if the estimated list price exceeds this cap."
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "webhook_secret": {
      "type": "string",
      "maxLength": 512
    },
    "folder_id": {
      "type": "string"
    },
    "prompt": {
      "type": "string"
    },
    "duration": {
      "title": "Duration",
      "description": "Duration in seconds from start_time. Ignored if end_time is provided.",
      "default": 2,
      "type": "number"
    },
    "start_time": {
      "title": "Start Time",
      "description": "Start time in seconds",
      "default": 1,
      "type": "number",
      "minimum": 0
    },
    "end_time": {
      "title": "End Time",
      "description": "End time in seconds. If not provided, uses duration instead.",
      "type": "number"
    },
    "video_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "model_id",
    "video_url"
  ],
  "additionalProperties": false
}

FAQ

How much does Trim Video cost on ArtEmotion?

Flat 2 credits per generation. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if Trim Video fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call Trim Video from the API?

Yes. Use POST /api/v1/generate with model_id: "fal-ai/workflow-utilities/trim-video". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with Trim Video?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.