Content-Type: application/json
Cache-Control: no-cache

    "prompt": "Image of Bird"
import urllib.request, json

    url = ""

    hdr ={
    # Request headers
    'Content-Type': 'application/json',
    'Cache-Control': 'no-cache',

    # Request body
    data =  
    data = json.dumps(data)
    req = urllib.request.Request(url, headers=hdr, data = bytes(data.encode("utf-8")))

    req.get_method = lambda: 'POST'
    response = urllib.request.urlopen(req)
    except Exception as e:

// Request body
const body = {
    "prompt": "Image of Bird"

fetch('', {
        method: 'POST',
        body: JSON.stringify(body),
        // Request headers
        headers: {
            'Content-Type': 'application/json',
            'Cache-Control': 'no-cache',}
    .then(response => {
    .catch(err => console.error(err));
curl -v -X POST "" -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data-raw "{
    \"prompt\": \"Image of Bird\"
import java.util.HashMap;
import java.util.Map;

public class HelloWorld {

  public static void main(String[] args) {
    try {
        String urlString = "";
        URL url = new URL(urlString);
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();

        //Request headers
    connection.setRequestProperty("Content-Type", "application/json");
    connection.setRequestProperty("Cache-Control", "no-cache");

        // Request body
             "{ \"prompt\": \"Image of Bird\" }".getBytes()
        int status = connection.getResponseCode();

        BufferedReader in = new BufferedReader(
            new InputStreamReader(connection.getInputStream())
        String inputLine;
        StringBuffer content = new StringBuffer();
        while ((inputLine = in.readLine()) != null) {

    } catch (Exception ex) {
      System.out.print("exception:" + ex.getMessage());

$url = "";
$curl = curl_init($url);

curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

# Request headers
$headers = array(
    'Content-Type: application/json',
    'Cache-Control: no-cache',);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);

# Request body
$request_body = '{
    "prompt": "Image of Bird"
curl_setopt($curl, CURLOPT_POSTFIELDS, $request_body);

$resp = curl_exec($curl);

DreamShaper-8 LCM API
  • DreamShaper-8 LCM API Documentation


    The DreamShaper-8 LCM API harnesses the power of advanced AI technology for high-quality AI art image generation and manipulation. This API is meticulously fine-tuned on the SD1.5 base model and draws on diverse, high-resolution image datasets to ensure rich visual output. Through precise adjustments of model parameters and loss functions, the DreamShaper-8 LCM API optimizes perceptual similarity, structural integrity, and color fidelity, making it a powerful tool for creating realistic images and diverse art styles.

    The DreamShaper-8 LCM model is adept at generating both higher-resolution and lower-resolution images, catering to various user needs. It supports anime-style images and anime-style characters, enhancing its versatility. Developers can use this API to integrate state-of-the-art image generation capabilities into their applications seamlessly. The DreamShaper-8 LCM API also allows for customization of the caption style, enabling users to add context to their generated images effortlessly.

    In addition to its core functionalities, the DreamShaper-8 LCM model includes Inpainting models and utilizes the Stable Diffusion Checkpoint to improve the quality and consistency of the output. These features make the DreamShaper-8 LCM API an indispensable tool for AI image generation. It supports advanced machine learning techniques and accepts text prompts to generate images, making it suitable for various applications. The API's checkpoint models and the Inpainting version further extend its capabilities, allowing for sophisticated image edits and refinements.

    Users of the DreamShaper-8 LCM API can confidently embark on creative journeys, leveraging its unmatched ability to imbue digital canvases with stunning realism and diversity. As part of the Stability AI ecosystem, the DreamShaper-8 LCM model continues to evolve, with the upcoming DreamShaper XL model promising even more advanced AI techniques for image generation. Whether you need to create realistic images, explore various art styles, or generate anime-style characters, the DreamShaper-8 LCM API is your go-to solution for cutting-edge AI-powered artistry.

  • API Parameters

    The API POST takes the following parameters:


    string, required


    string, optional


    JavaScript Object Notation (JSON)


    string, optional, default: 1024x1024


    Integration and Implementation

    To use the DreamShaper-8 LCM API, developers must make POST requests to the specified endpoint with the appropriate headers and request body. The request body should include the text prompt and any optional parameters such as negative prompts and image size.

    Base URL

    POST /getImage

    This endpoint generates and modifies images based on the text prompts.

    • URL:
    • Method: POST
    • Headers:
      • Content-Type: application/json
      • Cache-Control: no-cache
      • Ocp-Apim-Subscription-Key: {subscription_key}
    • Body:


        "prompt": "Image of Bird"
  • Responses
    • HTTP Status Codes:
      • 200 OK: The request was successful, and the generated image is included in the response body.
      • 400 Bad Request: The request must be corrected or include some arguments.
      • 401 Unauthorized: The API key provided in the header is invalid.
      • 500 Internal Server Error: An error occurred on the server while processing the request.
    • Sample Response:


        "status": 200,
        "content-type": "image/png",
        "content-length": "size_in_bytes",
        "image_data": "base64_encoded_image_data"
    POST /Get image stream

    This endpoint generates images based on the provided prompts.

    • URL:
    • Method: POST
    • Headers:
      • Content-Type: application/json
      • Cache-Control: no-cache
      • Ocp-Apim-Subscription-Key: {subscription_key}
    • Body:


          "prompt": "image of bird",
          "System prompt": "You are supposed to be the best image generator."
    Error Handling

    The DreamShaper-8 LCM API provides comprehensive error handling to ensure smooth operation. Common status codes include:

    • Error Field Contract:
      • code: An integer that indicates the HTTP status code (e.g., 400, 401, 500).
      • message: A clear and concise description of what the error is about.
      • traceId: A unique identifier that can be used to trace the request in case of an issue.

    Use Cases of DreamShaper-8 LCM API

    • Text-to-Image Generation: The API can be used to generate high-quality images from text prompts, making it suitable for applications such as image description, image captioning, and image generation from text. This use case emphasizes the text-to-image generation capability, allowing users to create images based on detailed descriptions.
    • Image Manipulation: The API supports image manipulation tasks such as inpainting, which allows for the seamless removal of objects or regions from images. This feature is useful for applications like image editing, image restoration, and image enhancement, providing a high degree of control over the illustration style.
    • Stable Diffusion Animation: The DreamShaper-8 LCM API can be used to create animations with a stable diffusion effect, resulting in smooth and seamless transitions between frames. This feature is particularly useful for applications like video production, animation, and visual effects. The Realistic Vision technology ensures animations maintain high detail and photorealism.
    • Anime-Style Image Generation: The API can generate anime images with high detail and photorealism, making it suitable for applications like anime and manga creation, character design, and illustration. Leveraging the Anime model, users can achieve an authentic anime image look.
    • Realistic Image Generation: The API can generate realistic images with high photorealism and detail, making it suitable for applications like image generation for advertising, product visualization, and architectural visualization. This feature is part of the Key Features of the API, ensuring that Generative AI provides results that meet professional standards.
    • Image Generation for AI Models: The API can be used to generate images for training and testing AI models, making it suitable for applications like AI model development, AI model testing, and AI model deployment. This use case highlights the importance of high-quality image data for AI research and development.
    • Image Generation for Web Applications: The API can be used to generate images for web applications, making it suitable for applications like web design, web development, and web content creation. This includes generating images that can be placed at the bottom right of web pages for added visual appeal.
    • Image Generation for Mobile Applications: The API can be used to generate images for mobile applications, making it suitable for applications like mobile game development, mobile app development, and mobile content creation. Mobile developers can benefit from the exclusive tips provided by the API for optimizing images for mobile displays.
    • Image Generation for Virtual Reality (VR) and Augmented Reality (AR): The API can be used to generate images for VR and AR applications, making it suitable for applications like VR and AR development, VR and AR content creation, and VR and AR deployment. The Results of version updates ensure that the generated images are compatible with VR and AR environments.
    • Image Generation for Artificial Intelligence (AI) Research: The API can be used to generate images for AI research, making it suitable for applications like AI research, AI development, and AI deployment. Researchers can utilize the API for generating datasets and conducting experiments.

    DreamShaper-8 LCM API: Advanced Features for Creative Excellence

    • Advanced Noise Offset: The DreamShaper-8 LCM API offers advanced noise offset controls, allowing users to adjust the level of detail and texture in generated images. This feature is pivotal for achieving realistic and nuanced visual effects, ensuring images meet professional standards across various applications.
    • Full Body Image Generation: Users can generate full-body images, making them ideal for character design, fashion illustration, and virtual modeling. This capability supports detailed and lifelike representations of characters or fashion designs, facilitating creative expression and development.
    • Heavy Filters: Leveraging heavy filters, the API enables users to apply intricate artistic effects to generated images. From stylized renderings to abstract interpretations, these filters enhance creative flexibility and cater to diverse aesthetic preferences, empowering users to produce distinctive visual content.
    • Lora Support: Integration with Lora support enhances rendering capabilities, resulting in improved image quality and rendering efficiency. This ensures that generated images are not only visually appealing but also optimized for various display and application environments.
    • Great Backgrounds: The API includes tools for generating rich and contextually relevant backgrounds. Whether for scenes in animation, virtual environments, or storytelling visuals, users can create backgrounds that complement and enhance the overall narrative and aesthetic impact of their projects.
    • Version Description: DreamShaper-8 builds upon the strengths of its predecessor, DreamShaper-V7, with significant performance enhancements and expanded features. This includes improved processing speed, enhanced image fidelity, and broader customization options to meet evolving user needs.
    • Best Stable Diffusion Models: Leveraging the SDXL model, the API excels in generating high-quality images from simple prompts. It employs the best stable diffusion models to ensure consistent and beautiful images, suitable for a wide range of creative and professional applications.
    • Community Engagement: The API fosters community interaction through a dedicated Discord Server. Here, users can share insights, receive support, and collaborate on projects, fostering a vibrant community around creative image generation and application development.
    • Email Support: In addition to community engagement, direct email support ensures that users receive personalized assistance for technical queries, feature requests, and troubleshooting on Appy Pie Endpoint, enhancing user experience and satisfaction.

    Technical Specifications of the DreamShaper-8 LCM API

    • Model Architecture and Efficiency: The DreamShaper-8 LCM API employs a sophisticated SDXL model architecture, which integrates advanced Latent Couple techniques for efficient image generation. This architecture is optimized to handle complex creative tasks, ensuring high fidelity in output images.
    • Diffusion Process: Powered by VAE diffusers, the API leverages a refined diffusion process that enables smooth transitions and detailed image generation. This process enhances the overall quality and realism of generated visuals, suitable for diverse applications including artistic rendering and digital content creation.
    • Base Model and Refiner: The API utilizes a robust base model coupled with a refiner model, allowing users to achieve precise adjustments and enhancements to generated images. This dual-model approach ensures flexibility in creating customized visuals with specific painting effects and stylistic preferences.
    • Version Detail: DreamShaper-8 LCM API incorporates the latest Version Detail updates, providing enhanced performance and expanded capabilities compared to its predecessors. These updates include improved processing speed, increased stability, and broader compatibility with varying input parameters.
    • Quality Assurance: With a focus on delivering high-quality results, the API undergoes rigorous testing and validation processes. This ensures reliability in image output and consistency in meeting user expectations across different creative workflows and applications.
    • Scalability and Integration: Designed for scalability, the API supports seamless integration into existing workflows and platforms. It offers robust API endpoints and comprehensive documentation, facilitating easy implementation and adaptation for developers and creative professionals alike.

    What are the Benefits of Using DreamShaper-8 LCM API?

    • High Performance with GPU Acceleration: The API harnesses the power of GPU acceleration, ensuring rapid processing and rendering of images. This feature not only speeds up the image generation process but also supports complex computations required for high-resolution outputs and intricate details.
    • LCM SAMPLER Technology: Incorporating LCM SAMPLER technology, the DreamShaper-8 API excels in generating diverse and high-quality visuals. This technology optimizes sampling methods, resulting in refined image outputs that meet professional standards, whether for digital art, marketing materials, or educational content.
    • Versatility in Model Types: DreamShaper-8 LCM API supports a range of model types tailored to different creative needs. From generating good portraits and realistic landscapes to producing stylized Pixel Art, users can choose from a variety of models that best fit their project requirements and artistic vision.
    • Reliability Through Extensive Testing: Before release, the API undergoes a lot of tests to ensure robust performance and reliability. This rigorous testing process guarantees consistency in image quality and stability, providing users with confidence in their creative endeavors.
    • Real-Time Applications: Suitable for real-time applications, the API facilitates on-the-fly image generation for dynamic environments such as live streaming, interactive media, and virtual simulations. This capability supports immediate feedback and adjustments, enhancing user interaction and engagement.
    • Access to Best Models: With access to the best models available, users benefit from cutting-edge advancements in generative AI. These models are continuously updated and refined to incorporate the latest innovations in image synthesis, ensuring superior results with each use.
    • Generative Service: As a comprehensive generative service, DreamShaper-8 LCM API simplifies the creation of visually compelling content. Whether for digital artists, game developers, educators, or marketers, the API streamlines the process of generating customized visuals, saving time and resources.

Top APIs for Generative AI Models


Unlock the full potential of your projects with our Generative AI APIs. from video generation APIs to image creation, text generation, animation, 3D models, prompt generation, image restoration, and code generation, we offer advanced APIs for all your generative AI needs.