DeviantArt icon

DeviantArt

Interact with DeviantArt API

Stash → Submit

AI-generated

Overview

This node operation allows users to submit artwork to DeviantArt's Sta.sh service. It supports uploading a file from binary data along with metadata such as title, artist comments, tags, maturity status, original URL, AI generation status, and stack placement. It can also update existing submissions by specifying an item ID. This is useful for artists or content creators who want to programmatically upload or update their artwork on DeviantArt's Sta.sh platform.

Use Case Examples

  1. Uploading a new artwork file with title, tags, and description to Sta.sh.
  2. Updating an existing Sta.sh submission by providing its item ID and new metadata.

Properties

Name Meaning
Binary Property Name Name of the binary property containing the file to upload.
Title Title of the artwork (max 50 characters).
Artist Comments Description or comments about the artwork.
Tags Comma-separated tags for the artwork (letters, numbers, and underscores only).
Is Mature Indicates whether the content is mature.
Original URL Link to the original artwork if posted elsewhere.
Is AI Generated Indicates whether the artwork was generated by AI.
Is Dirty Indicates whether the submission is currently being worked on.
No AI Indicates whether the submission is not authorized for inclusion in third-party AI datasets.
Item ID (to Update) ID of an existing Sta.sh submission to update.
Stack Name of the stack to create and place the new submission in (ignored if stack ID is set).
Stack ID ID of the stack to create and place the new submission in.

Output

JSON

  • id - ID of the submitted or updated Sta.sh item.
  • title - Title of the artwork.
  • artist_comments - Artist comments or description.
  • tags - Tags associated with the artwork.
  • is_mature - Maturity status of the content.
  • original_url - Original URL if provided.
  • is_ai_generated - AI generation status.
  • is_dirty - Dirty status indicating if submission is in progress.
  • noai - Authorization status for AI datasets.
  • stack - Stack name or ID where the submission is placed.

Dependencies

  • DeviantArt API with OAuth2 authentication

Troubleshooting

  • Ensure the binary property name matches the actual binary data property in the input to avoid upload errors.
  • Check that the file data is properly base64 encoded and accessible.
  • Verify that the API credentials are correctly configured and have the necessary permissions to submit or update Sta.sh items.
  • If updating an existing submission, ensure the item ID is valid and belongs to the authenticated user.
  • Error messages related to missing or invalid parameters should be resolved by verifying all required fields are correctly set.

Links

Discussion