Sourcify turns any keyword, hashtag, creator handle, or video URL into a curated library of reference media — all without leaving WZRD Studio. Type a topic, let the AI-powered Codex planner pick the right scraping actors, review the results in a browsable grid, and finalize the items you want directly into your project’s asset library. Sourcify is purpose-built for gathering shot references, building mood boards, and stockpiling source clips before a production run.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gratitude5dee/wzrd-studio-desktopfinal/llms.txt
Use this file to discover all available pages before exploring further.
Route
/sourcify
How It Works
Sourcify is built on Apify — a cloud web-scraping platform that runs pre-built actors for each social platform. Thesourcify-apify Supabase edge function sits between the WZRD client and Apify, handling plan generation, actor orchestration, result normalisation, and asset persistence.
Supported Platforms and Actors
YouTube Fast
Broad YouTube channel, search-result, and playlist scraping. Best default for long-form video metadata. Actor ID:
gXSReGYeawn5nwDhI.YouTube Shorts
Same underlying actor ID (
gXSReGYeawn5nwDhI), tuned with duration: "s" and includeShorts: true for short-form YouTube discovery.YouTube Downloader
Downloads direct MP4 streams (720p) from individual YouTube watch or Shorts URLs. Only activated when a direct video URL is supplied. Actor ID:
y1IMcEPawMQPafm02.Instagram Fast
Public profiles, hashtags, Reels discovery, and engagement metadata. Actor ID:
VLKR1emKm1YGLmiuZ.Instagram Reels Downloader
Downloads high-quality Reel media from a direct
/reel/ URL. Actor ID: Fj1zYgto86GELL443.TikTok Fast
Hashtags, creator profiles, keyword searches, and direct video URLs. Uses
SOURCIFY_TIKTOK_ACTOR_ID env override if set; otherwise falls back to a default actor ID.Twitch Video
Twitch VOD and clip metadata. Activated when a
twitch.tv URL is detected. Actor ID: bqneowjFSQBmAkILW.Core Workflow
Enter a topic or URL
Type any of the following into the Codex source query box:
- A keyword or phrase:
"cinematic creator clips" - A hashtag:
#shortfilm - A creator handle:
@username - A direct video URL from YouTube, Instagram, or TikTok
- A natural-language prompt describing the content you want
Cmd+Enter or click Plan sources to proceed.Review the Codex plan
The
sourcify-apify function calls the Codex planner — an OpenAI Responses API call using a structured JSON schema — to decompose your prompt into 1–5 focused scrape targets. Each target is matched to the most appropriate Apify actors.The Codex planner requires OPENAI_API_KEY to be set on the edge function (the provider defaults to codex). If the Codex planner is unavailable or throws, the function falls back to a deterministic plan that constructs sensible actor inputs directly from the topic string.The assistant’s explanation of the plan appears as a blue callout below the query box.Select actors and run
The Actors panel on the right lists all planned actors grouped by target. Toggle individual actors on or off before running. Actors that are not configured (missing Actor ID or incorrect URL input type) are shown as disabled with an explanatory note.Click Run selected scrapes to start the Apify runs. Each actor run fires sequentially. Results stream into the grid as runs complete.
Browse and filter results
Results are displayed in a responsive card grid, grouped first by platform (
youtube, tiktok, instagram, twitch) then by content category (video, short, reel, clip, profile, metadata).Use the platform filter pills to narrow the view. Each card shows:- Thumbnail with hover-to-preview (inline video for direct MP4s, embedded YouTube iframe for watch URLs)
- Title, creator, platform, and category badges
- Downloadable / metadata status
- Engagement metrics (views, likes, comments, shares)
- Dataset and run IDs for provenance tracing
- An Open source link to the original page
Fetch MP4 downloads (optional)
Results that have a source URL but no direct media file show a Fetch MP4 button. Clicking it (or using the toolbar Fetch MP4s button for a batch) triggers a second Apify run using the dedicated downloader actors:
- YouTube URLs →
youtube-downloader - Instagram Reel URLs →
instagram-reels - TikTok video URLs →
tiktok-fastwithshouldDownloadVideos: true
Finalize or add to library
Select one or more results using the checkboxes on each card (or Select all in the toolbar), then choose an action:
Finalized results display a green
| Action | Effect |
|---|---|
| Add to library | Downloads each result’s media to Supabase Storage and creates a project_assets row with asset_category: "upload" |
| Finalize | Same as above but marks the asset with asset_category: "finalized", making it available in the Postz sidebar for immediate scheduling |
| Download MP4s | Saves direct-MP4 results to your local machine without storing them in the project |
finalized badge on their card. Skipped items (no downloadable URL, download errors) are reported as a warning toast.Settings
Configure scraping behaviour using the controls in the query panel:Maximum number of items to fetch per actor run. Clamped between 1 and 1,000.
Apify billing cap in USD per run. Passed directly to the Apify actor as
maxTotalChargeUsd.Seconds to wait for the Apify run to complete before returning. Capped at 60. Runs that are not terminal when the wait expires return an empty
results array — you can fetch their dataset later using the results action.When enabled, filters results to only those with a resolved
mediaUrl (a direct downloadable file). Useful for building shot-reference packages that are ready to import immediately.Edge Function: sourcify-apify
The edge function accepts POST requests with a JSON body. All actions require authentication.
- plan
- run
- results
- finalize
Generates a scraping plan without running any actors. Calls the Codex planner (OpenAI Responses API) when Returns a
OPENAI_API_KEY is configured; otherwise falls back to a deterministic plan.SourcifyPlan containing targets (1–5), each with its own actors array and rationale from the AI planner.Result Card Details
EachSourcifyResult item carries the following fields after normalisation:
Use Cases
Shot Reference Packages
Search for a visual style, select the best thumbnails and Reels, and finalize them into your project in one flow. All provenance metadata (source URL, platform, run ID) is preserved in the asset record.
Trend Research
Use engagement metrics (views, likes, shares) to identify high-performing content in your niche before planning a production.
Content Repurposing Prep
Fetch direct MP4 downloads of your own published content (from your channel handle) to re-import into WZRD for remixing or re-editing.
Postz Asset Pipeline
Finalize Sourcify assets to make them immediately available in the Postz finalized-asset panel, ready to attach to scheduled posts.
Sourcify requires an Apify API token configured as the
APIFY_API_TOKEN environment variable on the edge function. Without it, plan will succeed (Codex planning calls OpenAI, not Apify), but run and results actions will return an error.