Skip to main content
POST
Upload Video from Platform Creator URL
Product: Visual Search Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase Host: https://api.memories.ai/serve/api/v1 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Scrape the most recent N videos from any TikTok, YouTube, or Instagram creator profile into your Private Video Library. Related: Import from Creator Profile — Public · Import from Post URLs · Import from Hashtag. Example profile URLs:

Prerequisites

Request Example

Parameters

username
string
required
Full URL of the creator’s profile page (e.g. https://www.tiktok.com/@cutshall73).
scraper_cnt
integer
Number of most recent posts to ingest from the creator’s feed.
folder_id
integer
Optional. Target folder for the uploaded video(s). Omit (or pass -1) to store in your account’s Default folder (created automatically on first use). Pass a folder id from List Folders or Create Folder to store in that folder — it must belong to your account, otherwise the request is rejected.
callback_url
string
URL to receive POST notifications on task and per-video indexing progress. Alias callback is also accepted.

Response Example

Response Fields

code
string
Business status code. 0000 indicates success.
msg
string
Human-readable status message.
data.taskId
string
Unique identifier for the import task. Use with Get Task Status.

Notes & Limits

  • Rate limiting: See Rate limits.
  • Billing: Each request deducts credits. YouTube consumes additional credits.
  • YouTube: Indexing may be slower than TikTok or Instagram due to scraper capacity.

Authorizations

Authorization
string
header
required

Body

application/json
username
string
required
Example:

"https://www.tiktok.com/@cutshall73"

scraper_cnt
integer
default:4
callback_url
string<uri>
Example:

"https://your.app/callback"

folder_id
integer

Optional target folder for the upload. Omit or pass -1 for the account's Default folder (auto-created on first use). A positive id must belong to your account.

Example:

671631448308117500

Response

200 - application/json

Successful response

code
Example:

"0000"

msg
string
Example:

"success"

data
success
boolean
Example:

true

failed
boolean
Example:

false