<!-- Markdown twin of https://pixelvault.dev/blog/media-pipeline-for-social-content/ -->

[← Back to blog](/blog/)

By [PixelVault](/about/) November 19, 2026

# How marketing teams can build a media pipeline for social content

Campaign media ends up scattered across shared drives, chat threads, AI tools and a scheduler's upload dialog, and every channel gets its own copy. A small media pipeline fixes that: collect or generate the files, host each one once on PixelVault, then let [Social Champ](https://socialchamp.com) schedule and publish them.

![Image, video and audio tiles passing through a vault and emerging as linked URLs that fill a social media posting calendar](https://img.pixelvault.dev/proj_mkoboesmx25d/img_n0127e2y0f0r.png?w=1400&h=788&fit=cover&fmt=auto&q=auto)

This hero is hosted on PixelVault itself, on the same kind of `img.pixelvault.dev` URL the pipeline below hands to a scheduler.

An agency's week produces a lot of media: square and portrait images, 15-second video cuts, a voiceover or a podcast clip, and the AI-generated variants nobody wants to redo. Each file has to reach a social scheduler, usually also a landing page, an email and a client report. When every one of those is a fresh upload, you get "final\_v3" files, links that stop working, and no answer to "which version went out?".

The fix is to separate two jobs that tools often blur: **hosting** the file and **distributing** it. PixelVault is the hosting layer. Social Champ is the distribution layer. They do different things and work well in sequence.

## The pipeline in three stages

Stage

What happens

Where

1\. Collect or generate

Designers export, editors render, an AI model produces variants, someone records a clip

Your design, video and AI tools

2\. Host

One upload per file returns a stable URL, filed by client and campaign

PixelVault (API, SDK, CLI)

3\. Distribute

Compose, adapt per network, queue, approve, publish, report

Social Champ

PixelVault does not connect to social networks or schedule posts, and it is not trying to. [Social Champ](https://socialchamp.com) is built for that part: one composer for 12+ platforms, queues, a drag-and-drop calendar, approvals, and white-label reports. Use each for what it does, and the handoff between them is a list of URLs.

## Stage 1: Collect or generate the assets

Keep one folder per campaign on disk, with a subfolder per media type. The structure matters because the next stage reads it:

Campaign folder

campaigns/acme-spring/ images/ hero-square.jpg carousel-01.jpg carousel-02.jpg video/ teaser-15s.mp4 audio/ founder-clip.mp3

-   **Images.** Export a JPEG master per asset. If you generate with AI, PixelVault can [generate and host an image in one call](/blog/generate-images-with-one-api-call/), or you can [host output from any model](/blog/host-ai-generated-images/) before the provider's temporary link expires.
-   **Short video.** Export MP4 with H.264 video and AAC audio. Plan limits are 25 MB on Free, 100 MB on Starter and 250 MB on Pro per MP4. For quick one-off links without code, try the free [Video to URL](/tools/video-to-url/) or [MP4 to URL](/tools/mp4-to-url/) converter.
-   **Audio clips.** MP3, WAV, M4A or OGG up to 25,000,000 bytes (about 23.8 MiB). PixelVault hosts the original bytes without converting or editing them — or test a clip in the browser with [Audio to URL](/tools/audio-to-url/) and [MP3 to URL](/tools/mp3-to-url/).

One caution about audio: most social networks do not publish a bare audio file as a post. In practice an audio clip reaches social one of two ways: rendered into an MP4 audiogram in your video editor (then hosted as video), or linked from a caption, landing page or newsletter. Hosting the original gives you the URL for the second case and a clean source for the first.

## Stage 2: Host everything on PixelVault

Register for an API key and upload. You can try one image upload without a key, but a keyless upload is temporary and expires after 30 days, so treat it as a test, not as campaign hosting. Video uploads need a secret key and a verified email, and audio uploads need a secret key, so campaign work should use a key from the start.

From a terminal, the [CLI](/docs/cli/) covers all three media types:

CLI

export PIXELVAULT\_API\_KEY=pv\_live\_xxx \# Images: one URL per line on stdout npx pixelvault-cli upload campaigns/acme-spring/images/\*.jpg \--folder acme-spring \# Video: waits for the social-ready copy, then prints the URL to post npx pixelvault-cli upload campaigns/acme-spring/video/teaser-15s.mp4 \--social \# Audio: original bytes, served unchanged npx pixelvault-cli audio upload campaigns/acme-spring/audio/founder-clip.mp3

For a whole campaign folder, a short script using the [JavaScript SDK](/docs/sdks/) uploads every file, files it under the campaign name, tags it with metadata, and writes a manifest CSV of `file, kind, url`. That manifest is the handoff to the next stage. We ran this script against the live API before publishing it.

host-campaign.mjs

// host-campaign.mjs. Node 20+, npm install @pixelvault-dev/sdk import { readdir, readFile, writeFile } from "node:fs/promises"; import { basename, extname, join } from "node:path"; import { PixelVault } from "@pixelvault-dev/sdk"; const pv = new PixelVault(); // reads PIXELVAULT\_API\_KEY const dir = process.argv\[2\]; // e.g. campaigns/acme-spring const campaign = basename(dir); const TYPES = { ".jpg": \["image", "image/jpeg"\], ".png": \["image", "image/png"\], ".mp4": \["video", "video/mp4"\], ".mp3": \["audio", "audio/mpeg"\], ".m4a": \["audio", "audio/mp4"\], ".wav": \["audio", "audio/wav"\], ".ogg": \["audio", "audio/ogg"\], }; const rows = \[\["file", "kind", "url"\]\]; for (const file of (await readdir(dir, { recursive: true })).sort()) { const type = TYPES\[extname(file).toLowerCase()\]; if (!type) continue; const \[kind, contentType\] = type; const base = { file: await readFile(join(dir, file)), filename: basename(file), folder: campaign, // one folder per campaign metadata: { campaign, source: file }, // searchable later }; let url; if (kind === "image") { url = (await pv.images.upload({ ...base, contentType })).url; } else if (kind === "video") { const video = await pv.videos.upload({ ...base, socialReady: true }); const { video: done } = await pv.videos.waitForOptimization(video.id); url = done.social\_ready\_url ?? done.original\_url; // the copy to post } else { url = (await pv.audio.upload({ ...base, contentType })).original\_url; } rows.push(\[file, kind, url\]); console.log(kind, url); } const quote = (c) => '"' + c.replaceAll('"', '""') + '"'; await writeFile(campaign + "-urls.csv", rows.map((r) => r.map(quote).join(",")).join("\\n") + "\\n");

Two details worth knowing. For video, `socialReady: true` asks PixelVault for a separate H.264/AAC fast-start copy; the original is stored unchanged and the script prefers the copy. The [social-ready video guide](/docs/guides/social-ready-video/) explains the compatibility warnings returned when a file is not ready to post. And images are served from a URL that includes the folder, while video and audio use the asset ID. The folder and metadata are for finding things later, not part of every URL, so filter with them: see [organize media](/docs/guides/organize-media/).

Rerunning the script uploads every file again. Once it runs unattended, add idempotency keys; [retry-safe uploads](/blog/retry-safe-image-uploads/) covers the pattern.

## One master, the right crop for each placement

Do not re-export a file for every placement. An image URL accepts transform parameters, so one hosted JPEG master can serve each format the channels want:

Placement

Append to the URL

Result

Square feed post

`?size=square&fmt=jpg`

1080×1080 JPEG

Portrait 4:5 feed post

`?size=portrait&fmt=jpg`

1080×1350 JPEG

Link-preview or landscape card

`?size=social&fmt=jpg`

1200×630 JPEG

Transforms fail open: if one cannot be produced, the original is served instead, so check the result before you schedule. The [image transforms post](/blog/image-transforms-for-ai-agents/) and the [transform reference](/docs/transforms/) list every parameter. For per-network size and format rules, Social Champ publishes its own [recommended formats and sizes](https://help.socialchamp.com/knowledge-base/media-integration/recommended-format-and-sizes-for-uploading-media-on-social-media-platforms/).

## Stage 3: Schedule and publish with Social Champ

With the manifest in hand, the work moves to [Social Champ](https://socialchamp.com), where the team does what a scheduler is for:

-   **Bulk-schedule from a CSV.** Social Champ's [Bulk Upload](https://help.socialchamp.com/knowledge-base/publish/how-to-schedule-your-posts-through-bulk-upload/) takes a CSV template and can queue hundreds of posts at once. Its guide documents an Image URL column, and a carousel is several image URLs separated by commas. Paste the hosted URLs from your manifest into the matching media columns of the template you download from the Bulk Upload screen, and check the template for how it handles video.
-   **Or compose by hand.** Write a post once, adjust it for each network, and attach media in the composer. Audio clips go in the caption or a link as described above.
-   **Keep clients separate.** Workspaces per client, roles with approvals so nobody shares a client's login, and a calendar that shows scheduled, published and failed posts.
-   **Label and report.** Post labels group posts by campaign, and the analytics export to CSV or white-label PDF reports.

Social Champ also has its own Media Library for storing images, videos and GIFs inside the tool, and integrations with Google Drive, Dropbox, Canva and others. That is a fine place for working files. The difference is reach: a PixelVault URL is also what your website, email, ad platform, docs and AI agents use, so the same hosted file serves all of them.

Social Champ features on this page were last re-read against its website and help docs on 19 November 2026.

## Who does what

PixelVault

Social Champ

Role

Hosting layer

Distribution layer

Core job

Store media and return a stable URL

Schedule and publish to social channels

Media

Images, MP4 video, original audio

Images, video and GIFs in posts

Interface

REST API, SDKs, CLI, MCP, n8n

Web app, mobile apps, CSV bulk upload

Organised by

Folder, metadata, project

Workspace, label, queue, calendar

Output

A URL usable anywhere

A published post and its report

## Check the handoff before you schedule

Scheduling means the file is used later, sometimes days later, by a system you do not control. Whether a tool copies a file when you import it or fetches the URL when the post goes out depends on the tool and the import path, so verify rather than assume:

Verify

\# Every URL in the manifest should answer 200 with the right type curl \-sI "https://img.pixelvault.dev/proj\_xyz789/vid\_abc123.mp4" \\ | grep \-iE "^(HTTP|content-type|accept-ranges)" \# HTTP/2 200 \# content-type: video/mp4 \# accept-ranges: bytes

-   Open the URL in a private browser window. If it needs a login, the scheduler cannot fetch it either.
-   Schedule one post per channel first and look at the published result before queuing the month.
-   **Keep scheduled assets public.** A private asset's signed link expires, which is useful for a client review link and wrong for a post that publishes next Thursday.
-   Use `expires_in` only on assets that should disappear, such as a promo that ends. It deletes the file after the time you set, at the next hourly sweep, so never set it shorter than the schedule. See [expiry and retention](/docs/lifecycle/).

## Run it per client without extra work

Folders and metadata give you a campaign-level view inside a project. For clients who need hard separation, projects isolate keys, media and usage: Free has one project, Starter three and Pro ten. Starter includes one [custom domain](/docs/guides/custom-domains/) and Pro three, so media can be served from a hostname you control. Video is the part to watch on a busy account: videos count against the same storage and bandwidth allowances as images, with no egress fees on top.

The upload step is easy to automate. A [coding agent with the PixelVault skill](/blog/host-images-with-your-coding-agent/), the [MCP server](/blog/mcp-image-hosting/) or the n8n node can run it, while a person still reviews and approves in Social Champ. If you use a different scheduler, the same pattern applies; we covered [Buffer](/blog/host-images-for-buffer-carousels/) and [Zernio](/blog/host-images-for-zernio/) too.

## Free to start

PixelVault's free tier includes 200 MB storage, 500 uploads/month, and 1 GB bandwidth — no credit card, zero egress. Enough to run a few campaigns through the pipeline before you pay anything, and paid plans start at [$9/month](/pricing/). Register for an API key to keep what you upload; a keyless upload expires after 30 days. Start from the [API quickstart →](/docs/). Free-plan images left unused for a long time may be cleaned up ([the rule](/pricing/)); paid plans keep everything.

## More in Host images for your stack

-   [HEIC won't open or upload? Turn an iPhone photo into a link](/blog/heic-to-jpg-link-iphone-photos/) iPhones save photos as HEIC, and most of the web can't display them. Why it happens, the quickest way to a working link, and how to stop it at the source.
-   [Host images for Zernio: from asset to social post](/blog/host-images-for-zernio/) When to use Zernio’s own uploads, when to keep a reusable image library, and how to hand a PixelVault URL to a Zernio draft.
-   [Hosting images for Twilio MMS and WhatsApp Cloud API](/blog/host-images-for-twilio-mms-whatsapp/) Neither API takes your file — both fetch a URL from their own servers when the message sends, and a Twilio content template keeps re-fetching it for as long as you send it. Here's how to host message media, plus the extension/MIME mismatch that turns into Twilio error 12300.

[All posts in Host images for your stack →](/blog/topics/integrations/)
