-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
48 lines (41 loc) · 1.54 KB
/
Copy path__init__.py
File metadata and controls
48 lines (41 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""ARTCLAW AI Creative Suite — Skill Package
This package provides AI content creation capabilities via the ARTCLAW REST API,
including image generation, video generation, workflow execution,
multimodal analysis, and prompt enhancement.
REST API Base: https://artclaw.com/api/v1
Auth: API Key (starts with vk_) passed as `X-API-KEY` HTTP header
Get your key: https://artclaw.com/settings
"""
SKILL_NAME = "artclaw-creative-suite"
SKILL_VERSION = "1.3.0"
API_BASE_URL = "https://artclaw.com/api/v1"
API_CONFIG = {
"base_url": API_BASE_URL,
"auth_header": "X-API-KEY",
}
ENDPOINTS = {
# Generation (async, returns job_id)
"generate_image": ("POST", "/generate/image"),
"generate_video": ("POST", "/generate/video"),
"generate_seedance_video": ("POST", "/volcengine/video"),
"generate_audio": ("POST", "/generate/audio"),
"generate_text": ("POST", "/generate/text"),
"remove_bg": ("POST", "/generate/remove-bg"),
# Voice (async)
"voice_stt": ("POST", "/generate/voice/stt"),
"voice_tts": ("POST", "/generate/voice/tts"),
# Workflows
"list_workflows": ("GET", "/workflows/"),
"run_workflow": ("POST", "/workflows/{workflow_id}/run"),
# Job management
"get_job": ("GET", "/jobs/{job_id}"),
"list_jobs": ("GET", "/jobs/"),
"cancel_job": ("POST", "/jobs/{job_id}/cancel"),
# Account
"account_info": ("GET", "/account/info"),
# Auth
"verify_key": ("POST", "/auth/verify"),
}
def get_api_config() -> dict:
"""Return the REST API configuration for this skill."""
return API_CONFIG