Actions42
- Browse Actions
- Gallery Actions
- Stash Actions
- User Actions
Stash → Publish
AI-generatedOverview
This node operation publishes an artwork item from Sta.sh on DeviantArt. It allows users to set various publishing options such as marking the content as mature, adding tags, selecting gallery folders to publish to, enabling or disabling comments, setting display resolution, featuring the submission, and more. This operation is useful for artists or content creators who want to manage and publish their artwork directly from Sta.sh to their DeviantArt gallery with detailed control over the publication settings.
Use Case Examples
- Publishing an artwork with tags and marking it as mature content.
- Publishing an artwork to specific gallery folders with comments enabled and a watermark added.
- Publishing an AI-generated artwork with specific subject tags and location tag.
Properties
| Name | Meaning |
|---|---|
| Item ID | ID of the item in Sta.sh to be published. |
| Is Mature | Whether the content is mature, affecting additional mature content options. |
| Tags | Tags to associate with the published deviation for categorization and searchability. |
| Gallery IDs | UUIDs of gallery folders where the artwork will be published. |
| Allow Comments | Whether to allow comments on the published deviation. |
| Display Resolution | Maximum resolution for displaying the published artwork. |
| Feature | Whether to feature the submission on DeviantArt. |
| Mature Level | The mature content level classification, required if content is marked mature. |
| Mature Classification | Specific mature content classifications such as gore, ideology, language, nudity, or sexual content. |
| Allow Free Download | Whether to offer the original file as a free download. |
| Add Watermark | Whether to add a watermark to the published artwork, applicable if display resolution is set. |
| Subject Tags | Subject tags to attach to the deviation, including name and type (Artist, Model, Object, Character). |
| Location Tag | Location tag to attach to the deviation. |
| Groups | Groups to submit the deviation to, including group UUID and folder UUID within the group. |
| Is AI Generated | Whether the artwork was generated by AI. |
| No AI | Whether to mark the artwork as not authorized for inclusion in third-party AI datasets. |
Output
JSON
itemid- ID of the published item.is_mature- Indicates if the content is mature ('true' or 'false').allow_comments- Indicates if comments are allowed ('true' or 'false').feature- Indicates if the submission is featured ('true' or 'false').allow_free_download- Indicates if free download is allowed ('true' or 'false').is_ai_generated- Indicates if the artwork is AI generated ('true' or 'false').noai- Indicates if the artwork is marked as no AI ('true' or 'false').tags- `` - Array of tags associated with the published deviation.
galleryids- `` - Array of gallery folder UUIDs where the artwork is published.
display_resolution- Maximum display resolution setting.add_watermark- Indicates if a watermark is added ('true').location_tag- Location tag attached to the deviation.subject_tags- `` - Array of subject tag names attached to the deviation.
subject_tag_types- `` - Array of subject tag types corresponding to the subject tags.
groups- `` - Array of group UUIDs the deviation is submitted to.
group_folders- `` - Array of folder UUIDs within the groups.
Dependencies
- DeviantArt API OAuth2 authentication
Troubleshooting
- Ensure the Item ID corresponds to an existing item in Sta.sh before publishing.
- If marking content as mature, the mature level and classification must be provided.
- Tags and gallery IDs should be properly formatted as arrays or comma-separated strings.
- Binary data handling is not required for publish operation but is needed for submit operation.
- Common API errors may include authentication failures or invalid parameters; verify OAuth2 credentials and input values.
Links
- DeviantArt API - Sta.sh Publish - Official API documentation for publishing Sta.sh items on DeviantArt.