avocado/reddit-tiktok-video

Public
3 runs

Run avocado/reddit-tiktok-video with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
reddit_thread
string
The Reddit thread content to convert into a TikTok video
voice_id
string
Friendly_Person
Voice ID for narration (e.g., Friendly_Person, Lively_Girl, Calm_Woman, Deep_Voice_Man)
video_duration
integer
30

Min: 15

Max: 60

Target video duration in seconds (15-60)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output",
  "required": [
    "video",
    "script",
    "audio"
  ],
  "properties": {
    "audio": {
      "type": "string",
      "title": "Audio",
      "format": "uri"
    },
    "video": {
      "type": "string",
      "title": "Video",
      "format": "uri"
    },
    "script": {
      "type": "string",
      "title": "Script"
    }
  }
}
Example API response
View prediction
{'audio': 'https://replicate.delivery/xezq/TlU5SowLoR7DMh4Y3hqSIrwtTcAjvtNfcWBAsTCyLvv256xKA/tmpt4pd361e.mp3',
 'script': '*stares at camera with confused expression*\n'
           '\n'
           'So this guy orders a burger today and then tries to return it '
           "because... wait for it... it wasn't shaped like a perfect circle.\n"
           '\n'
           '*dramatic pause*\n'
           '\n'
           'Sir, this is a handmade patty, not a geometry class. The audacity '
           'of some people I swear. Like what did you expect, a burger made '
           'with a protractor?\n'
           '\n'
           '*shakes head*\n'
           '\n'
           'The entitlement is unreal.',
 'video': 'https://replicate.delivery/xezq/mx9ivHODFvryKB0LfqN45FpS3MnnwdgEZ607MjVdDBg256xKA/video_no_captions.mp4'}