Skip to main content
Once you have an active account and generated content, schedule posts to publish automatically.

Schedule a post

vidjutsu post schedule --account acc_8k2x --video vid_q9f3 --caption "Summer fits"
Cost: 3 credits per post.
{
  "id": "post_m2v1",
  "status": "scheduled",
  "creditsCharged": 3
}

Schedule for a specific time

Pass a Unix timestamp to schedule for a future time:
curl -X POST https://api.vidjutsu.ai/v1/posts \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: vj_live_abc123..." \
  -d '{
    "accountId": "acc_8k2x",
    "videoId": "vid_q9f3",
    "caption": "Summer fits",
    "scheduledAt": "1711641600"
  }'
If scheduledAt is not provided, the post is published as soon as possible.

List posts

vidjutsu post list
{
  "data": [
    {
      "postId": "post_m2v1",
      "status": "scheduled",
      "accountId": "acc_8k2x",
      "videoId": "vid_q9f3",
      "caption": "Summer fits"
    }
  ]
}

Post statuses

StatusDescription
scheduledQueued for publishing
publishingCurrently being posted
publishedSuccessfully posted
failedPost failed (check account status)
cancelledPost was cancelled

Cancel a post

vidjutsu post cancel post_m2v1
Only posts with "scheduled" status can be cancelled.