Civitai Media Rating:
CivitaiMediaRating is a powerful node designed to analyze and rate media content using Civitai's orchestration capabilities. This node is particularly useful for AI artists and developers who need to assess the content of images for various attributes such as NSFW levels, age classification, and recognition of faces, AI-generated content, and anime. By leveraging advanced algorithms, CivitaiMediaRating provides a comprehensive analysis that helps in understanding the content's suitability for different audiences and platforms. This node is essential for ensuring compliance with content guidelines and enhancing the user experience by providing detailed insights into the media being analyzed.
Civitai Media Rating Input Parameters:
image
The image parameter is the media content that you want to analyze. It is pre-processed in the API layer and imported into blob storage, allowing the worker to pre-fetch it as a declared resource. After processing, it contains the blob AIR URL. This parameter is crucial as it determines the content that will be rated and analyzed by the node.
engine
The engine parameter specifies the engine to use for media rating. You can choose between "default" (HiveVLM) or "civitai". The default value is "default". This parameter impacts the analysis method and results, as different engines may have varying capabilities and accuracy levels.
include_age_classification
The include_age_classification parameter is a boolean value that determines whether age classification should be included in the analysis. By enabling this option, the node will assess the content for age-appropriate classification, which is important for ensuring compliance with age-related content guidelines.
include_face_recognition
The include_face_recognition parameter is a boolean value that specifies whether face recognition should be part of the analysis. When enabled, the node will attempt to identify and analyze faces within the media, providing insights into the presence and characteristics of human faces.
include_airecognition
The include_airecognition parameter is a boolean value that indicates whether AI recognition should be included in the analysis. This option allows the node to detect and analyze AI-generated content within the media, which is useful for distinguishing between human-created and AI-generated elements.
include_anime_recognition
The include_anime_recognition parameter is a boolean value that determines whether anime recognition should be part of the analysis. By enabling this option, the node will assess the media for anime-style content, providing insights into the presence and characteristics of anime elements.
Civitai Media Rating Output Parameters:
nsfw_level
The nsfw_level output provides a JSON object indicating the level of NSFW content detected in the media. This information is crucial for determining the appropriateness of the content for various audiences and platforms.
blocked_reason
The blocked_reason output is a string that explains why the media might be blocked. This output helps in understanding any restrictions or limitations imposed on the content due to its nature.
is_blocked
The is_blocked output is a string that indicates whether the media is blocked. This output is important for quickly assessing the accessibility of the content.
labels
The labels output provides a JSON object containing labels assigned to the media based on the analysis. These labels offer insights into the content's characteristics and can be used for categorization and filtering.
age_classification
The age_classification output is a JSON object that provides information about the age classification of the media. This output is essential for ensuring compliance with age-related content guidelines.
face_recognition
The face_recognition output is a JSON object that contains information about any faces detected in the media. This output provides insights into the presence and characteristics of human faces within the content.
ai_recognition
The ai_recognition output is a JSON object that provides details about any AI-generated content detected in the media. This output helps in distinguishing between human-created and AI-generated elements.
anime_recognition
The anime_recognition output is a JSON object that contains information about any anime-style content detected in the media. This output provides insights into the presence and characteristics of anime elements.
workflow_id
The workflow_id output is a string that identifies the workflow used for the analysis. This output is useful for tracking and referencing the specific analysis process applied to the media.
raw_json
The raw_json output provides a JSON object containing the raw data from the analysis. This output is valuable for detailed examination and further processing of the analysis results.
Civitai Media Rating Usage Tips:
- Ensure that the
imageparameter is correctly pre-processed and accessible to avoid errors during analysis. - Choose the appropriate
enginebased on your specific needs and the type of content you are analyzing for optimal results. - Enable the relevant recognition options (
include_age_classification,include_face_recognition,include_airecognition,include_anime_recognition) based on the attributes you want to analyze in the media.
Civitai Media Rating Common Errors and Solutions:
Image not accessible
- Explanation: The image provided in the
imageparameter is not accessible or improperly pre-processed. - Solution: Ensure that the image is correctly pre-processed and stored in a location accessible by the node.
Invalid engine value
- Explanation: The
engineparameter contains an invalid value that is not recognized by the node. - Solution: Use a valid engine value, either "default" (HiveVLM) or "civitai", to ensure proper analysis.
Missing recognition outputs
- Explanation: Some recognition outputs are missing because the corresponding recognition options were not enabled.
- Solution: Enable the relevant recognition options (
include_age_classification,include_face_recognition,include_airecognition,include_anime_recognition) to obtain the desired analysis outputs.
