Migrate from Cloudinary or S3
Copy your images with their folders, tags and metadata, and map every old URL to its PixViro URL.
In the dashboard: Bulk import → Migrate from Cloudinary or S3. Both migrations run in the background, report progress, and give you a mapping from each old ID to its PixViro asset.
From Cloudinary
Enter your cloud name, API key and secret (Cloudinary → Settings → API Keys). PixViro only reads from your cloud. You see a preview — asset count and how each named transformation translates — before starting.
curl https://pixviro.com/v1/migrations/cloudinary -H "Authorization: Bearer $PIXVIRO_API_KEY" -H "Content-Type: application/json" \
-d '{"cloud_name":"demo","api_key":"…","api_secret":"…","prefix":"products/","target_folder":"cloudinary"}'
What carries over:
- images and PDFs of the
upload,privateandauthenticatedtypes (private ones become private assets), with their folders, tags, and context/structured metadata. PDFs stored asrawfiles are copied too; other raw files and videos are not; - public IDs that aren't valid in PixViro are made valid and flagged
(
Red Shoe (1)→Red-Shoe-1); - named transformations become presets — only when they translate exactly. Anything else is listed as not supported, never silently changed.
Folders become PixViro folders: products/shoes/red keeps its path, under
target_folder if you set one. prefix copies one folder and everything
below it, whichever folder mode your Cloudinary cloud uses (fixed or
dynamic).
Translate your URLs
Paste Cloudinary URLs from your site to get the PixViro equivalents:
curl https://pixviro.com/v1/migrations/$MIGRATION_ID/translate-urls -H "Authorization: Bearer $PIXVIRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://res.cloudinary.com/demo/image/upload/c_fill,w_400,h_300/v1/products/shoe.jpg"]}'
Each result is translated (with the PixViro URL), unsupported (with the
parameters PixViro can't reproduce), not_migrated or not_cloudinary.
Notes explain small differences (for example, c_fit never enlarges).
From Amazon S3 (or R2, Wasabi, MinIO…)
Give PixViro read-only access to a bucket:
- IAM role (recommended): create a role with the trust and permissions
policies shown in the wizard (or
GET /v1/migrations/s3/setup). The trust policy includes an external ID unique to your organization; the permissions are onlys3:ListBucketands3:GetObject. - Access key, for S3-compatible stores, optionally with an
https://endpoint.
Keys become public IDs without their extension (photos/beach.jpg →
photos/beach). Files that aren't supported images/PDFs or exceed your
plan's size limit are skipped and counted.
Results
GET /v1/migrations/{id}— status, counts, renamed IDs, presets created, transformations not translated.GET /v1/migrations/{id}/mapping(or Mapping CSV) — every source ID with its PixViro asset, URL and any error.- Retry failed retries what failed; the
import.finishedwebhook fires at the end. - Retry missing files (Cloudinary) checks which files Cloudinary had no content for (deleted, or backup placeholders) have content again, and copies only those.
- Copy new files (Cloudinary) copies the files uploaded since the migration started; files already copied are skipped.
Your credentials are stored encrypted, never shown again, and deleted 7
days after the migration ends (or now, with Delete now /
DELETE /v1/migrations/{id}/credentials).

