Xpersona
F

fotor-skills

CLAWHUB · Unverified

Fotor AI image generator and AI video generator for photo editing, background remover, background replacement, product photos, ad creatives, social media gra...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174t72v0nc7fgjes95zs0mgvn842kr3:fotor-skills
  1. Install using `clawhub skill install s174t72v0nc7fgjes95zs0mgvn842kr3:fotor-skills` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/fotor-everimaging/fotor-skills before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-fotor-everimaging-fotor-skills/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

151,419 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: fotor-skills
description: Fotor AI image generator and AI video generator for photo editing, background remover, background replacement, product photos, ad creatives, social media graphics, poster and banner design, image upscaling, photo restoration, portrait enhancement, text-to-video, and image-to-video. Built for e-commerce, marketing, branding, and content creation.
version: 1.0.20
metadata:
  author: fotor-ai
  openclaw:
    requires:
      env:
        - FOTOR_OPENAPI_KEY
      bins:
        - uv
    primaryEnv: FOTOR_OPENAPI_KEY
    homepage: https://github.com/fotor-ai/fotor-skills
---

# fotor-skills

Fotor OpenAPI skill for AI image generation, AI photo editing, AI video generation, product photos, ad creatives, social media graphics, background removal, photo restoration, and image upscaling.

This skill should match user requests expressed in outcome language first, not SDK language. Keep technical details behind the scenes unless they are needed to unblock execution.

## When This Skill Matches

Use this skill when the user asks for outcomes such as:

- Generate AI images from a text prompt
- Edit or restyle an existing photo
- Turn a product shot into an e-commerce or ad-ready asset
- Create posters, banners, covers, thumbnails, or social media graphics
- Remove or replace an image background
- Restore, enhance, or upscale a blurry or old photo
- Generate AI videos from text, one image, multiple images, or start/end frames
- Batch-produce visual assets for branding, content, or marketing campaigns

## Search Intent Coverage

Common search phrases this skill should be able to match include:

- AI photo editor
- AI image generator
- AI video generator
- Image to image
- Text to image
- Text to video
- Product photo generator
- Ad creative generator
- Marketing visual generator
- Poster maker
- Banner maker
- Social media post generator
- Cover and thumbnail generator
- Background remover
- Background replacement
- Photo restoration
- Image upscaler
- E-commerce image generation
- Brand asset generation

For API key application and product details, see `https://developers.fotor.com/fotor-skills/`.

Use `uv` as the bootstrap layer. Prefer a skill-local Python 3.12 environment and run bundled scripts from that local environment instead of the system Python.

## Runtime Setup

Keep setup lightweight and local to the skill directory.

Install `uv` first if it is missing:

```bash
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

Typical first-run setup:

```bash
uv python install 3.12
uv venv --python 3.12 .venv
./.venv/bin/python scripts/ensure_sdk.py
```

Setup rules:

1. Prefer a local Python 3.12 environment in the skill directory.
2. Use `uv` to prepare Python 3.12 and create `.venv` when the local environment is missing.
3. Run bundled scripts from the local skill environment, not the system Python.

_meta.json

{
  "ownerId": "kn7106pt2cdxf7wvyqqb3gfgbx842rwy",
  "slug": "fotor-skills",
  "version": "1.0.20",
  "publishedAt": 1777362708913
}

references/credits-and-recharge.md

# Credits and Recharge

Use this reference when the user asks about account credits, remaining balance, recharge, payment links, or when a task fails because credits are insufficient.

## Credit Lookup

For account credit checks such as total credits or remaining credits, use the SDK client directly instead of `run_task.py`.

```python
import os
from fotor_sdk import FotorClient

client = FotorClient(
    api_key=os.environ["FOTOR_OPENAPI_KEY"],
    endpoint=os.environ.get("FOTOR_OPENAPI_ENDPOINT", "https://api-b.fotor.com"),
)
credits = client.get_credits_sync()
print("credits:", credits)
```

Returns a dict like:

```python
{"businessId": "", "total": 2000, "remaining": 1973}
```

## Recharge Links

If the user asks how to recharge, buy more credits, top up, or purchase tokens, call the payment-links endpoint directly with the same API key:

```bash
curl -sS -X GET https://api-b.fotor.com/v1/payment/links \
  -H "Authorization: Bearer $FOTOR_OPENAPI_KEY"
```

Successful responses look like:

```json
{
  "code": "000",
  "msg": "success",
  "data": [
    {
      "url": "https://api-b.fotor.com/v1/recharge/...",
      "planName": "500 Tokens (for 2 years)",
      "credits": 500,
      "currency": "USD",
      "amount": 39.99,
      "urlExpireTime": "2026-04-03T03:05:19Z"
    }
  ]
}
```

Field meanings:

- `url`: payment link for that package
- `planName`: display name of the package
- `credits`: tokens included after purchase
- `currency`: billing currency
- `amount`: price
- `urlExpireTime`: payment link expiration time returned by the API as an ISO 8601 UTC timestamp string

## Recharge Guidance Rules

- Summarize the available plans in plain language before listing raw URLs.
- Tell the user they can open any returned `url` to complete the purchase.
- Keep `urlExpireTime` in the returned result structure for internal use, but do not surface the raw timestamp to users by default.
- When guiding the user, simply say the payment link is valid for 30 minutes.
- If the returned payment link has already expired or is close to expiry, fetch fresh links again before asking the user to pay.
- When helpful, suggest the smallest plan that covers the user's immediate task, but do not invent package details that were not returned by the API.
- If the user asked about remaining balance first, answer the balance question directly and then offer to fetch recharge options only if they need more credits.

## Insufficient Credits

Treat any task failure containing `code=510` or `No enough credits` as insufficient credits, even when the error string combines primary and fallback failures such as `primary=No enough credits (code=510); fallback=No enough credits (code=510)`.

- When using `scripts/run_task.py`, expect insufficient-credit failures to return immediately without fallback retry.
- Explain that the generation did not succeed because the account currently lacks enough credits.
- After explaining the failure, fetch the latest payment links and present the

references/fallback_models.json

{
  "text2image": {
    "gemini-3.1-flash-image-preview": "seedream-5-0-260128",
    "gpt-image-2": "gemini-3.1-flash-image-preview"
  },
  "image2image": {
    "gemini-3.1-flash-image-preview": "seedream-5-0-260128",
    "gpt-image-2": "gemini-3.1-flash-image-preview"
  },
  "text2video": {
    "seedance-1-5-pro-251215": "kling-v3",
    "doubao-seedance-2-0-260128": "kling-v3"
  },
  "single_image2video": {
    "seedance-1-5-pro-251215": "kling-v3",
    "doubao-seedance-2-0-260128": "kling-v3"
  },
  "start_end_frame2video": {
    "kling-video-o1": "viduq2-turbo",
    "doubao-seedance-2-0-260128": "viduq2-turbo"
  },
  "multiple_image2video": {
    "kling-v3-omni": "kling-video-o1",
    "doubao-seedance-2-0-260128": "kling-video-o1"
  }
}

references/get_api_key.md

# Get an API Key for `fotor-skills`

Use this guide when the user asks where to get an API key for `fotor-skills`, how to configure `FOTOR_OPENAPI_KEY` for first-time use, or wants the official `fotor-skills` homepage while setting up access.

## Default Guidance

For API-key setup questions, keep the flow short and linear:

1. Give the `fotor-skills` homepage for product details
2. Send the user to the developer dashboard settings page to apply for and generate an API key
3. Tell the user how to paste the key into a local `.env` file so `fotor-skills` can use it

Do not start with SDK internals or multiple equivalent credential strategies unless the user asks.

## Step 1: Share the `fotor-skills` Homepage

When this guide is triggered, also give the official homepage:

```text
https://developers.fotor.com/fotor-skills/
```

Use it when the user wants to learn what `fotor-skills` is, what it supports, or wants the product details page during setup.

## Step 2: Get an API Key

If the user wants to apply for or manage an API key directly, send them here:

```text
https://developers.fotor.com/dashboard/setting/
```

Use a short explanation like:

> To apply for an API key, go directly to the developer dashboard settings page. If you want product details about `fotor-skills`, open the official homepage.

If the user asks for a more explicit flow, explain it like this:

1. Sign in or create a Fotor account
2. Open the `fotor-skills` homepage if the user wants product details
3. Go directly to the developer dashboard settings page
4. Complete the developer application flow if prompted
5. Generate a new API key
6. Copy the key and keep it private

## Step 3: Configure `FOTOR_OPENAPI_KEY`

Tell the user to write the key into the `.env` file in the project directory:

```env
FOTOR_OPENAPI_KEY=your-real-key-here
```

Use a short explanation like:

> In the project directory, create a file named `.env`, paste the line above into it, and replace `your-real-key-here` with the real key you got from Fotor.

## Routing Notes

- Use this guide when the user asks for an API key or needs the official `fotor-skills` homepage during setup
- When this guide is used, include both the homepage and the API-key dashboard entry
- Use `install-or-upgrade.md` when the user asks how to install or upgrade the skill
- Keep secrets out of chat and never ask the user to commit `.env`

Sponsored

Ads related to fotor-skills and adjacent AI workflows.