← 返回
未分类 Key 中文

DeviantArt Post

Post artwork, journals, and status updates to a user's DeviantArt account through the official DeviantArt API using OAuth 2.1 Authorization Code with PKCE, S...
使用 OAuth 2.1 授权码(PKCE)通过官方 DeviantArt API 向用户的 DeviantArt 账户发布作品、日志和状态更新。
stanestane stanestane 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 272
下载
💾 0
安装
1
版本
#latest

概述

DeviantArt Post

Use the official API, not browser automation.

Workflow

  1. Ensure a local DeviantArt app exists and the user has a client_id and redirect URI.
  2. Create an app credentials file at ~/.openclaw/deviantart-app-credentials.json, or override the path with DEVIANTART_APP_CREDENTIALS.
  3. If no token exists or refresh fails, run scripts/deviantart_auth.py.
  4. Before any external post, summarize what will be published and get explicit confirmation.
  5. Run the relevant script for artwork, journals, or statuses.
  6. Return the final URL or deviation ID.

Local files

Default paths:

  • App credentials: ~/.openclaw/deviantart-app-credentials.json
  • Token file: ~/.openclaw/deviantart-token.json

Optional overrides:

  • DEVIANTART_APP_CREDENTIALS
  • DEVIANTART_TOKEN_PATH

Credentials file shape:

{
  "client_id": "12345",
  "redirect_uri": "http://127.0.0.1:8765/callback",
  "scopes": ["stash", "publish"]
}

Add user.manage when journals or statuses are needed.

Commands

Authenticate:

python .\skills\deviantart-post\scripts\deviantart_auth.py

Post artwork:

python .\skills\deviantart-post\scripts\deviantart_post_art.py --file "C:\path\to\image.png" --title "My title" --tags tag_one tag_two --artist-comments "Optional description" --is-mature false

Or use the PowerShell wrapper:

powershell -ExecutionPolicy Bypass -File .\skills\deviantart-post\scripts\deviantart_post.ps1 -File "C:\path\to\image.png" -Title "My title" -Tags tag_one,tag_two -IsMature false

Create a journal:

python .\skills\deviantart-post\scripts\deviantart_post_journal.py --title "My journal" --body "Body text" --is-mature false

Or use the PowerShell wrapper:

powershell -ExecutionPolicy Bypass -File .\skills\deviantart-post\scripts\deviantart_post_journal.ps1 -Title "My journal" -Body "Body text" -IsMature false

Post a status:

python .\skills\deviantart-post\scripts\deviantart_post_status.py --body "Hello from OpenClaw"

Or use the PowerShell wrapper:

powershell -ExecutionPolicy Bypass -File .\skills\deviantart-post\scripts\deviantart_post_status.ps1 -Body "Hello from OpenClaw"

Notes

  • stash/submit may return an error body even with HTTP 200. Always inspect the JSON body.
  • New DeviantArt apps use PKCE. Keep the auth flow local and desktop-friendly.
  • Access tokens expire quickly; refresh automatically before posting.
  • Omit empty optional publish fields; DeviantArt validates them aggressively.
  • Use --dry-run when the user wants a preview before uploading.
  • Gallery folder names can be resolved through --gallery-name; if multiple folders have the same name, require a UUID instead.
  • Ask before publishing because this is an external write action.

If auth fails

Read references/api-notes.md and check:

  • redirect URI exact match
  • client_id correctness
  • local callback port availability
  • whether the user needs to re-authorize the app
  • whether requested scopes match the action being attempted

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-08 03:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Marketing Skills

jchopard69
{"answer":"获取23个营销模块,包含CRO、SEO、文案、分析、发布、广告及社媒的清单、框架与现成交付物。"}
★ 143 📥 30,913
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 909 📥 207,393
professional

Game Design Emotional Canvas

stanestane
定义、细化并评估游戏、功能、活动、地区或内容主题的情感认同、感觉、氛围与基调。用于塑造游戏。
★ 0 📥 538