home / skills / openclaw / skills / adobe

adobe skill

/skills/mrgoodb/adobe

This skill helps automate Adobe Creative Cloud tasks by accessing Photoshop, PDF Services, Firefly, and Lightroom APIs to streamline workflows.

npx playbooks add skill openclaw/skills --skill adobe

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
2.0 KB
---
name: adobe
description: Access Adobe Creative Cloud APIs - Photoshop, Lightroom, PDF Services, and Firefly AI. Automate creative workflows.
metadata: {"clawdbot":{"emoji":"🎨","requires":{"env":["ADOBE_CLIENT_ID","ADOBE_ACCESS_TOKEN"]}}}
---

# Adobe Creative Cloud

Creative and document APIs.

## Environment

```bash
export ADOBE_CLIENT_ID="xxxxxxxxxx"
export ADOBE_ACCESS_TOKEN="xxxxxxxxxx"
```

## Photoshop API - Remove Background

```bash
curl -X POST "https://image.adobe.io/sensei/cutout" \
  -H "Authorization: Bearer $ADOBE_ACCESS_TOKEN" \
  -H "x-api-key: $ADOBE_CLIENT_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {"href": "https://example.com/image.jpg", "storage": "external"},
    "output": {"href": "https://your-bucket.s3.amazonaws.com/output.png", "storage": "external"}
  }'
```

## PDF Services - Create PDF

```bash
curl -X POST "https://pdf-services.adobe.io/operation/createpdf" \
  -H "Authorization: Bearer $ADOBE_ACCESS_TOKEN" \
  -H "x-api-key: $ADOBE_CLIENT_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "assetID": "{asset_id}"
  }'
```

## PDF Services - Export PDF to Word

```bash
curl -X POST "https://pdf-services.adobe.io/operation/exportpdf" \
  -H "Authorization: Bearer $ADOBE_ACCESS_TOKEN" \
  -H "x-api-key: $ADOBE_CLIENT_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "assetID": "{asset_id}",
    "targetFormat": "docx"
  }'
```

## Firefly - Generate Image (AI)

```bash
curl -X POST "https://firefly-api.adobe.io/v2/images/generate" \
  -H "Authorization: Bearer $ADOBE_ACCESS_TOKEN" \
  -H "x-api-key: $ADOBE_CLIENT_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A futuristic cityscape at sunset",
    "n": 1,
    "size": {"width": 1024, "height": 1024}
  }'
```

## Lightroom - Get Catalog

```bash
curl "https://lr.adobe.io/v2/catalogs" \
  -H "Authorization: Bearer $ADOBE_ACCESS_TOKEN" \
  -H "x-api-key: $ADOBE_CLIENT_ID"
```

## Links
- Console: https://developer.adobe.com/console
- Docs: https://developer.adobe.com/apis

Overview

This skill provides programmatic access to Adobe Creative Cloud APIs including Photoshop, Lightroom, PDF Services, and Firefly AI. It lets you automate image editing, generate AI images, manage Lightroom catalogs, and convert or create PDFs as part of creative and document workflows.

How this skill works

The skill issues authenticated HTTP requests to Adobe endpoints using a client ID and access token. It supports key operations such as background removal via the Photoshop API, AI image generation via Firefly, Lightroom catalog queries, and PDF create/export operations using PDF Services. Inputs and outputs are typically URLs or asset IDs and can be directed to external storage.

When to use it

  • Automating bulk image edits like background removal or batch processing.
  • Generating AI-driven concept art or variations using Firefly.
  • Converting documents to/from PDF or creating PDFs programmatically.
  • Integrating Lightroom catalog data into asset management or galleries.
  • Building creative pipelines that combine document and image operations.

Best practices

  • Store ADOBE_CLIENT_ID and ADOBE_ACCESS_TOKEN securely in environment variables or a secrets manager.
  • Use presigned URLs or external storage for large inputs/outputs to avoid payload limits.
  • Handle rate limits and errors by implementing retries with exponential backoff.
  • Validate and sanitize prompts and input URLs to prevent unexpected results or injection.
  • Log API responses and asset IDs for traceability and downstream processing.

Example use cases

  • Remove backgrounds from product photos in bulk and upload results to a CDN.
  • Generate multiple AI concept images for a marketing campaign and select finalists.
  • Automate creation of PDFs from collected assets and deliver them to clients.
  • Export PDFs to editable Word documents for content repurposing.
  • Sync Lightroom catalog metadata into a custom portfolio site or DAM.

FAQ

What credentials are required?

You need an ADOBE_CLIENT_ID and an ADOBE_ACCESS_TOKEN set as environment variables or provided by your secrets system.

How do I handle large images or outputs?

Use external storage (for example S3) and pass the storage hrefs to the API so Adobe can read/write directly without large request bodies.

Can I generate multiple AI images at once?

Yes. The Firefly image endpoint supports an 'n' parameter to request multiple generations per prompt, subject to API limits.