photoshop_recipe_export_social_variants
Export one JPEG per selected social platform from the active Photoshop document, center-cropped and resized to each platform spec, and save each variant to disk.
Instructions
Render one JPEG per requested social-media platform from the active document. Each variant is center-cropped/resized to the platform spec and saved to disk.
Use when: the user wants multi-platform deliverables in one shot. Do NOT use when: only one export is needed (use photoshop_recipe_prepare_for_web instead) or when platforms differ by content rather than crop (recipe does not change content, only frame).
Returns: { ok, summary, output_paths, details: { variants } }.
Preconditions: active document. Aspect ratios that differ from the source result in a center-crop (no padding). Side effects: writes one file per platform; source unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | JPEG quality on the Photoshop 1-12 scale. Default 9. | |
| platforms | No | Slugs of platforms to export. Known: instagram_post, instagram_story, instagram_reel, x_post, x_header, facebook_post, facebook_cover, linkedin_post, linkedin_banner, youtube_thumbnail, tiktok_vertical, pinterest_pin. Default: instagram_post, instagram_story, x_post. | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |