Create Stunning Cinematic Images with the ArtificialGuyBR Cinematic Redmond Actions

21 Apr 2025
Create Stunning Cinematic Images with the ArtificialGuyBR Cinematic Redmond Actions

In today's digital landscape, the ability to generate artistic and cinematic images has taken center stage. The ArtificialGuyBR/Cinematic.Redmond API offers developers a powerful toolset for creating visually stunning images with customizable themes and settings. With pre-built Cognitive Actions, you can effortlessly integrate image generation capabilities into your applications, enhancing user engagement and creativity.

Prerequisites

Before diving into the Cognitive Actions, ensure you have the following prerequisites:

  • An API key for the Cognitive Actions platform.
  • Basic knowledge of RESTful API calls.
  • Familiarity with JSON format, as the input and output will be handled in this format.

For authentication, you will generally pass your API key in the headers of your requests, allowing you to securely access the Cognitive Actions.

Cognitive Actions Overview

Generate Cinematic Artistic Images

The Generate Cinematic Artistic Images action utilizes the Cinematic.Redmond model to create artistic images. You can specify various parameters, including resolution, themes, and guidance scales, to tailor the output to your needs.

Input

The input for this action is structured as follows:

  • seed (integer, optional): A random seed value for repeatable outputs. Leave blank for randomization.
  • width (integer): Width of the output image (default: 1656).
  • height (integer): Height of the output image (default: 744).
  • prompt (string): A detailed prompt to guide the image generation.
  • guidanceScale (number): Intensity of classifier-free guidance (default: 6, range: 1-20).
  • negativePrompt (string): Elements to avoid in the image (default: 'text, watermark, blur, deformed, noised').
  • numberOfImages (integer): Number of images to generate (default: 1, range: 1-8).
  • disableSafetyChecker (boolean): Disable safety checks for generated images (default: false).
  • numberOfInferenceSteps (integer): Number of denoising steps during generation (default: 30, range: 1-100).

Here's an example of the input JSON payload:

{
  "width": 1656,
  "height": 744,
  "prompt": "A cinematic film still of a (Movie Still) from Suicide Squad, (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, Margot Robbie as Harley Quinn, colorful hair, pigtails, blue eyes, baseball bat, teeth, (detailed face, detailed eyes, clear skin, clear eyes), photorealistic, award winning, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, volumetrics dtx",
  "guidanceScale": 6,
  "negativePrompt": "text, watermark, blur, deformed, noised",
  "numberOfImages": 1,
  "numberOfInferenceSteps": 30
}

Output

The output of this action typically returns an array of URLs pointing to the generated images. For example:

[
  "https://assets.cognitiveactions.com/invocations/7dfe973e-5b52-49d3-9fb9-93221d04a287/d32e1f9a-e696-4b63-af6b-840f6923a8a0.jpg"
]

Conceptual Usage Example (Python)

Here’s a conceptual Python snippet to demonstrate how you might call this action:

import requests
import json

# Replace with your Cognitive Actions API key and endpoint
COGNITIVE_ACTIONS_API_KEY = "YOUR_COGNITIVE_ACTIONS_API_KEY"
COGNITIVE_ACTIONS_EXECUTE_URL = "https://api.cognitiveactions.com/actions/execute" # Hypothetical endpoint

action_id = "28897d77-dcd9-4c9d-9689-d772537a7ee4" # Action ID for Generate Cinematic Artistic Images

# Construct the input payload based on the action's requirements
payload = {
    "width": 1656,
    "height": 744,
    "prompt": "A cinematic film still of a (Movie Still) from Suicide Squad, (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, Margot Robbie as Harley Quinn, colorful hair, pigtails, blue eyes, baseball bat, teeth, (detailed face, detailed eyes, clear skin, clear eyes), photorealistic, award winning, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, volumetrics dtx",
    "guidanceScale": 6,
    "negativePrompt": "text, watermark, blur, deformed, noised",
    "numberOfImages": 1,
    "numberOfInferenceSteps": 30
}

headers = {
    "Authorization": f"Bearer {COGNITIVE_ACTIONS_API_KEY}",
    "Content-Type": "application/json"
}

try:
    response = requests.post(
        COGNITIVE_ACTIONS_EXECUTE_URL,
        headers=headers,
        json={"action_id": action_id, "inputs": payload} # Hypothetical structure
    )
    response.raise_for_status() # Raise an exception for bad status codes (4xx or 5xx)

    result = response.json()
    print("Action executed successfully:")
    print(json.dumps(result, indent=2))

except requests.exceptions.RequestException as e:
    print(f"Error executing action {action_id}: {e}")
    if e.response is not None:
        print(f"Response status: {e.response.status_code}")
        try:
            print(f"Response body: {e.response.json()}")
        except json.JSONDecodeError:
            print(f"Response body: {e.response.text}")

In this code snippet:

  • Replace YOUR_COGNITIVE_ACTIONS_API_KEY with your actual API key.
  • The action_id is set to the ID for generating cinematic images.
  • The payload is structured according to the input schema.
  • The response will contain the URLs of the generated images.

Conclusion

The ArtificialGuyBR/Cinematic.Redmond Cognitive Actions empower developers to create captivating cinematic images with ease. By leveraging the customizable parameters, you can tailor the generated outputs to fit your creative vision. Consider exploring various prompts and settings to unleash the full potential of this action in your applications. Start integrating today and watch your creative projects come to life!