Input
   
POST https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage HTTP/1.1

Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: 59f81b1edb2f4208be879140f81897c7

{
"general_prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"negative_prompt": "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
"height": 768,
"width": 768,
"num_inference_steps": 20,
"guidance_scale": 5
}

import urllib.request, json

try:
url = "https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage"

hdr ={
# Request headers
'Content-Type': 'application/json',
'Cache-Control': 'no-cache',
'Ocp-Apim-Subscription-Key': '59f81b1edb2f4208be879140f81897c7',
}

# 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)
print(response.getcode())
print(response.read())
except Exception as e:
print(e)
// Request body
const body = {
"general_prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"negative_prompt": "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
"height": 768,
"width": 768,
"num_inference_steps": 20,
"guidance_scale": 5
};

fetch('https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage', {
method: 'POST',
body: JSON.stringify(body),
// Request headers
headers: {
'Content-Type': 'application/json',
'Cache-Control': 'no-cache',
'Ocp-Apim-Subscription-Key': '59f81b1edb2f4208be879140f81897c7',}
})
.then(response => {
console.log(response.status);
console.log(response.text());
})
.catch(err => console.error(err));
curl -v -X POST "https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Ocp-Apim-Subscription-Key: 59f81b1edb2f4208be879140f81897c7" --data-raw "{
\"general_prompt\": \"A cinematic shot of a baby racoon wearing an intricate italian priest robe.\",
\"negative_prompt\": \"bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs\",
\"height\": 768,
\"width\": 768,
\"num_inference_steps\": 20,
\"guidance_scale\": 5
}"
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;
import java.io.UnsupportedEncodingException;
import java.io.DataInputStream;
import java.io.InputStream;
import java.io.FileInputStream;

public class HelloWorld {

public static void main(String[] args) {
try {
String urlString = "https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage";
URL url = new URL(urlString);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();

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

connection.setRequestProperty("Cache-Control", "no-cache");

connection.setRequestProperty("Ocp-Apim-Subscription-Key", "59f81b1edb2f4208be879140f81897c7");

connection.setRequestMethod("POST");

// Request body
connection.setDoOutput(true);
connection
.getOutputStream()
.write(
"{ \"general_prompt\": \"A cinematic shot of a baby racoon wearing an intricate italian priest robe.\", \"negative_prompt\": \"bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs\", \"height\": 768, \"width\": 768, \"num_inference_steps\": 20, \"guidance_scale\": 5 }".getBytes()
);

int status = connection.getResponseCode();
System.out.println(status);

BufferedReader in = new BufferedReader(
new InputStreamReader(connection.getInputStream())
);
String inputLine;
StringBuffer content = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
content.append(inputLine);
}
in.close();
System.out.println(content);

connection.disconnect();
} catch (Exception ex) {
System.out.print("exception:" + ex.getMessage());
}
}
}
$url = "https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage";
$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',
'Ocp-Apim-Subscription-Key: 59f81b1edb2f4208be879140f81897c7',);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);

# Request body
$request_body = '{
"general_prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"negative_prompt": "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
"height": 768,
"width": 768,
"num_inference_steps": 20,
"guidance_scale": 5
}';
curl_setopt($curl, CURLOPT_POSTFIELDS, $request_body);

$resp = curl_exec($curl);
curl_close($curl);
var_dump($resp);
Output
SDXL turbo API
  • API Documentation for SDXL Turbo

  • API Parameters

    The API POST-https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage takes the following parameters:

    general_prompt (str)

    The prompt or prompts to guide the image generation.

    negative_prompt (str, optional)

    The prompt or prompts not to guide the image generation.

    height (int, optional, default 1024 )

    the height in pixels of the generated image. This is set to 1024 by default for the best results. Anything below 512 pixels won't work well.

    width (int, optional, default 1024)

    The width in pixels of the generated image. This is set to 1024 by default for the best results. Anything below 512 pixels won't work well.

    num_inference_steps (int, optional, defaults to 50)

    The number of denoising steps. More denoising steps usually lead to a higher-quality image at the expense of slower inference.

    guidance_scale (float, optional, defaults to 5.0)

    Guidance scale is enabled by setting guidance_scale > 1. A higher guidance scale encourages to generation of images that are closely linked to the text prompt, usually at the expense of lower image quality.

     

    Integration and Implementation

    To use the SDXL Turbo API, developers need to 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

    https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage

    Endpoints
    POST /getImage

    This endpoint produces high-quality images from the provided text prompts.

    Request
    • URL: https://gateway.appypie.com/sdxl/getImageTurbo/v1/SDXL_Turbo_TextImage
    • Method: POST
    • Headers:
      • Content-Type: application/json
      • Cache-Control: no-cache
      • Ocp-Apim-Subscription-Key: {subscription_key}
    • Body:

      JSON

      {
      "general_prompt": "A cinematic shot of a baby raccoon wearing an intricate Italian priest robe.",
      "negative_prompt": "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
      "height": 768,
      "width": 768,
      "num_inference_steps": 20,
      "guidance_scale": 5
      }
      
  • 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 needed to 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:

      JSON

      {
      "status": 200,
      "content-type": "image/png",
      "content-length": "size_in_bytes",
      "image_data": "base64_encoded_image_data"
      }
      
    Error Handling

    The Stable Diffusion Turbo API includes robust error handling to ensure seamless functionality. Common status codes and their meanings are as follows:

    • 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 issues.
    Definitions
    • AI Model: Refers to the underlying machine learning model used to interpret the text prompts and generate corresponding images.
    • Changelog: Document detailing any updates, bug fixes, or improvements made to the API in each version.

    Overview of SDXL Turbo Model

    The SDXL Turbo Model represents a significant advancement in image generation technology, building upon the foundation established by SDXL 1.0. This next-generation model is the culmination of extensive research and development, offering developers unparalleled capabilities for creating high-quality images with ease. At the heart of the SDXL Turbo Model lies its sophisticated architecture, powered by Adversarial Diffusion Distillation. This cutting-edge approach to image generation leverages the principles of adversarial training and diffusion models to produce AI images of exceptional fidelity and realism. By distilling knowledge from large-scale datasets, the SDXL Turbo Model achieves remarkable results, setting new standards for image quality and realism.

    The API Documentation for SDXL Turbo provides developers with a comprehensive overview of the model's capabilities and functionalities. It serves as a valuable resource for understanding how to integrate and leverage the SDXL Turbo Model in their applications. The documentation includes an extensive API reference, detailing the various endpoints and parameters available for customization. Developers can adjust parameters such as guidance_scale to fine-tune the model's output according to their specific requirements. One of the key features highlighted in the documentation is the text generation capability of the SDXL Turbo Model that stuns users. This allows developers to generate high-quality images from textual descriptions, expanding the possibilities for content creation and user engagement. Whether it's creating visuals for marketing materials or enhancing user interfaces with dynamic imagery, the text-to-image model empowers developers to bring their ideas to life with ease.

    Use Cases of SDXL Turbo API

    • Creative Content Generation: SDXL Turbo enables artists, designers, and content creators to generate unique, high-quality images from input prompts in real time. This allows for rapid ideation, experimentation, and the creation of visually stunning content for various applications, such as advertising, marketing, and entertainment. By leveraging the distillation technique and foundation models, the SDXL model ensures that the generated visuals are not only creative but also highly detailed and realistic. This process is facilitated by the Stable Diffusion API, which provides robust tools for artists to explore and implement their ideas.
    • Personalized Product Mockups: Retailers and e-commerce platforms can leverage SDXL Turbo to generate personalized product mockups based on customer preferences and specifications. This can enhance the shopping experience by allowing customers to visualize products tailored to their needs, leading to increased engagement and sales. By using command prompts to specify features and customization options, the API can generate multiple versions and a number of images that meet diverse customer requirements, showcasing the versatility and power of the SDXL Turbo model.
    • Educational Content Creation: Educators can utilize SDXL Turbo to create engaging, visually rich learning materials, such as interactive diagrams, illustrations, and educational games. By incorporating these AI-generated visuals into their lessons, educators can enhance student understanding and retention of complex topics. The ability to produce photorealistic images from input prompts allows for the creation of detailed and accurate educational content, making abstract concepts more tangible and easier to grasp.
    • Augmented Reality and Virtual Reality: SDXL Turbo can contribute to the development of more immersive and engaging AR and VR experiences. Game developers and VR content creators can use the API to generate unique environments, characters, and objects, adding depth and realism to virtual worlds with image synthesis. The real-time text-to-image outputs provided by the API enable quick iterations and enhancements, ensuring that virtual experiences are continuously improved and refined. The use of inpainting models further enhances the detail and immersion of these virtual elements.
    • Generative Art and Design: Artists and designers can explore new creative frontiers by using SDXL Turbo as a tool for generative art and design. By experimenting with different text prompts and negative prompt and techniques, they can create visually striking and thought-provoking artworks that push the boundaries of traditional art forms. The generation process facilitated by the SDXL model allows for an endless array of possibilities, making it an invaluable tool for creative professionals seeking to innovate.
    • Rapid Prototyping: SDXL Turbo can accelerate the prototyping process for various applications, such as user interface design, product packaging, and marketing materials. By quickly generating visual representations of ideas, teams can gather feedback, iterate on designs, and make informed decisions more efficiently. The API's ability to produce high-quality images in real time is crucial for maintaining the momentum of fast-paced development cycles, ensuring that ideas can be tested and refined without delay.
    • Accessibility and Inclusion: SDXL Turbo has the potential to enhance accessibility and inclusion by enabling individuals with diverse abilities to express their creativity and ideas through visual means. For example, people with language barriers or learning disabilities may find it easier to communicate using AI-generated images, fostering greater inclusivity and self-expression. The SDXL Turbo: A Real-Time Text model makes it possible to generate images that accurately represent diverse perspectives and experiences, promoting a more inclusive digital environment.
    • Video Diffusion and AI Needs: The SDXL Turbo API also extends its capabilities to video content through Video Diffusion techniques. This allows for the creation of dynamic and engaging video content that can be used in marketing, entertainment, and educational contexts. The ability to integrate AI needs into video production workflows ensures that content is not only visually appealing but also aligned with strategic objectives. The documentation themes provided by Stability.ai offer comprehensive guides on how to best utilize these features, ensuring that developers can maximize the potential of the SDXL Turbo model in their projects.

    Advanced Features of the SDXL Turbo API

    SDXL Turbo API is a state-of-the-art tool that offers a plethora of advanced features designed to meet the diverse needs of developers, content creators, and businesses. These features leverage cutting-edge AI technologies to deliver exceptional performance and versatility in image generation. Here are some of the most notable advanced features of the SDXL Turbo API:

    • Real-Time Text-to-Image Outputs: The SDXL Turbo API excels in generating high-quality images in real-time based on textual descriptions. This capability is crucial for applications that require dynamic image creation, such as interactive media, live events, and real-time content customization. By processing input prompts efficiently, the API ensures that users receive instant visual feedback, enhancing user engagement and experience. To see this in action, developers can Test SDXL Turbo for their specific use cases and witness the rapid, high-fidelity image outputs.
    • Adversarial Diffusion Distillation: A key technological advancement in the Stable Diffusion XL Turbo model is the use of Adversarial Diffusion Distillation. This method combines the strengths of adversarial training and diffusion models to produce highly realistic and detailed images. The distillation technique helps in refining the output, ensuring that generated images are not only photorealistic but also contextually accurate.
    • Guidance Scale Parameter: The guidance_scale parameter allows developers to fine-tune the level of guidance the model uses during the image generation process. By adjusting this parameter, users can control the influence of the textual description on the final output, enabling a balance between creativity and accuracy. This feature is particularly useful for creating images that need to adhere to specific aesthetic or thematic requirements.
    • Inpainting Models: The API includes sophisticated inpainting models that can fill in missing parts of an image based on contextual clues from the surrounding areas. This feature is essential for tasks such as image restoration, content-aware editing, and enhancing partially obscured images. The inpainting capability ensures seamless integration of new elements into existing images, maintaining high visual coherence.
    • Single-Step Image Generation and Random Seed: The SDXL Turbo API supports single-step image generation, allowing for the rapid creation of images in a single denoising step. This feature is particularly useful for developers who need quick results without compromising on quality. Additionally, the use of a random seed can introduce variability in the outputs, enabling the generation of diverse and unique images for various tasks.
    • Personalized and High-Quality Image Creation: The SDXL Turbo API supports the generation of personalized and high-quality images tailored to individual specifications. This is ideal for applications in e-commerce, where personalized product mockups can significantly enhance the shopping experience. By customizing images based on user preferences, businesses can increase customer satisfaction and drive sales.
    • Comprehensive API Reference and Model Card: The API documentation includes an extensive API reference and a detailed model card. The model card provides transparency about the SDXL Turbo model’s capabilities, limitations, and potential biases. This information is crucial for developers to make informed decisions and ensure ethical use of the technology. The documentation themes cover a wide range of topics, offering clear guidance on how to leverage the API’s features effectively.
    • Integration with Video Diffusion: Beyond static images, the SDXL Turbo API supports Video Diffusion, allowing for the creation of high-quality video content. This feature is particularly useful for generating dynamic and engaging video elements for marketing, entertainment, and educational purposes. The ability to apply the same advanced image generation techniques to video content opens up new possibilities for creative expression.
    • Enhanced Accessibility and Inclusion: The API’s capabilities can be harnessed to improve accessibility and inclusion in digital content creation. By enabling individuals with diverse abilities to generate images and express ideas visually, the SDXL Turbo API promotes a more inclusive digital environment. This feature can be especially beneficial for creating educational content and user interfaces that are accessible to all users.
    • 3D Rendering and AI Needs: The SDXL Turbo API can also be employed for 3D rendering tasks, allowing for the creation of intricate and detailed three-dimensional images. This is particularly useful in industries such as architecture, gaming, and virtual reality, where high-quality 3D models are essential. By addressing various AI needs, the API ensures high performance and reliability across a broad range of applications.
    • REALTIME GENERATION and Streamlined Process: The API simplifies the generation process by providing intuitive controls and parameters that users can adjust to achieve desired outcomes. The REALTIME GENERATION capability ensures that images are produced quickly and efficiently, making it ideal for fast-paced environments where time is of the essence.

    Technical Specifications of SDXL Turbo API

    The SDXL Turbo API offers several advanced features that enhance its capabilities and make it a powerful tool for image generation and manipulation. These features leverage state-of-the-art AI technologies to deliver exceptional performance, scalability, and customization. Here are some of the key advanced features of the SDXL Turbo API:

    • SDXL Turbo: This feature accelerates image generation by using a distillation technique to refine the output and ensure high-quality images. The SDXL Turbo model enhances the generation process, making it faster and more efficient. This advanced distillation method improves the fidelity and realism of the generated images, ensuring that the outputs are visually appealing and contextually accurate.
    • Robust Stability.ai Integration: The API is integrated with Stability.ai, which ensures consistent performance and minimizes downtime. This integration fosters trust and confidence among users, which is essential for mission-critical applications. By leveraging Stability.ai's robust infrastructure, the API can handle high volumes of requests and maintain high availability, crucial for enterprise-level deployments.
    • Tailored Image Solutions: The API provides customized image solutions and text encoders specifically crafted to fulfill the distinct requirements of enterprise clients spanning diverse industries. This includes the ability to generate images based on text input, ensuring that the visual outputs align with specific business needs and branding guidelines.
    • Comprehensive Design Elements: The API offers a comprehensive suite of design elements, empowering enterprise developers to create visually stunning applications and interfaces. Through import requests and API calls, developers can seamlessly integrate advanced image generation capabilities into their workflows, enhancing the overall aesthetic and functionality of their digital products.
    • Efficient Mask_Image Functionality: The inclusion of the mask_image function within the API enhances efficiency in image processing workflows. This functionality allows enterprises to easily apply masks to images, enabling precise segmentation and manipulation for various purposes such as background removal, object isolation, or image enhancement. This feature is particularly valuable for industries that require detailed image editing customization and run SDXL turbo with an API.
    • Secure IP Address Management: The API prioritizes security with robust IP address management capabilities, safeguarding sensitive data and resources from unauthorized access for the API endpoint. This ensures that enterprises can trust the API to handle their data securely, which is crucial for maintaining compliance with data protection regulations and safeguarding intellectual property.
    • Foundation Models: The API is built on foundation models that are designed to generate high-quality images from text prompts. These models are trained on large datasets and are capable of generating images that are indistinguishable from real-world images. The use of foundation models ensures that the API can deliver superior image quality and consistency across various applications.
    • Large Language Models (LLMs): The API is powered by LLMs, which offer unparalleled scalability. This enables enterprise clients to effortlessly handle large volumes of image data. The integration of LLMs ensures that the API can process complex text inputs and generate corresponding images with high accuracy and detail.
    • LCM Sampler: The inclusion of the LCM sampler improves the sampling fidelity of the image generation process. This ensures that the final images closely match the desired attributes specified in the text input, resulting in more precise and reliable outputs.
    • Network Evaluation and Inference Speed: The API features optimized network evaluation techniques that enhance the inference speed. This means that images are generated faster, making the API suitable for applications that require quick turnaround times. The forward evaluation methods used in the API ensure that the generation process is both efficient and effective.
    • Denoising Step + Decoding: The API employs a denoising step + decoding process to further enhance the quality of the generated images. This two-step approach ensures that noise is reduced while maintaining the integrity of the visual details, resulting in cleaner and more accurate images.
    • Model Weights: The API uses finely tuned model weights to optimize performance. These weights are adjusted based on extensive training and evaluation, ensuring that the model delivers high-quality outputs consistently.
     

    What are the Benefits of Using ​​ SDXL Turbo API?

    The SDXL Turbo API offers numerous benefits that make it a powerful and versatile tool for image generation and manipulation. Here are the key advantages:

    • Real-Time Image Generation: The SDXL Turbo API excels in generating high-quality images in real-time based on text inputs. This capability is crucial for applications requiring dynamic image creation, such as interactive media, live events, and real-time content customization. Instant visual feedback enhances user engagement and experience.
    • High-Quality Output: Leveraging advanced AI technologies like Adversarial Diffusion Distillation and diffusion models, the SDXL Turbo API produces photorealistic and contextually accurate images. This high-quality output image is suitable for various applications, including advertising, marketing, and entertainment.
    • Customization and Control: The API allows developers to fine-tune parameters such as guidance_scale, enabling precise control over the generated images. This customization ensures that the images meet specific aesthetic or thematic requirements, enhancing the overall visual appeal.
    • Advanced Image Editing: The inclusion of sophisticated inpainting models allows for advanced image editing tasks such as content-aware editing, image restoration, and background removal. This feature is particularly valuable for industries requiring detailed image customization and enhancement.
    • Rapid Prototyping: The single-step image generation capability accelerates the prototyping process for various applications, including user interface design and marketing materials. Quick generation of visual representations helps teams gather feedback and iterate on designs efficiently.
    • Enhanced Accessibility and Inclusion: By enabling individuals with diverse abilities to generate images and express ideas visually, the SDXL Turbo API promotes a more inclusive digital environment. This is beneficial for creating educational content and user interfaces accessible to all users.
    • Comprehensive Documentation and Support: The API documentation includes an extensive API reference and a detailed model card, providing transparency about the model’s capabilities, limitations, and potential biases. This comprehensive documentation experience ensures that developers can leverage the API’s features effectively and ethically.
    • Source Code and Web UI Integration: For developers looking to dive deeper, the source code for various components of the SDXL Turbo API is available, allowing for customization and integration into existing systems. The webui feature allows for seamless integration of the SDXL Turbo API into web platforms, providing an interactive interface for users to generate images directly from their browsers.
    • Support for Meta Llama Models: The API supports Meta Llama 2 and Meta Llama 3, advanced models that enhance the capabilities of the SDXL Turbo API. These models bring improvements in code generation and image processing, making the API even more powerful.
    • Optimized Image Processing: The API is optimized for efficient processing with a manageable step count, ensuring quick generation of high-quality 512x512 images for social media. Techniques like score distillation ensure that the generated images maintain high fidelity and accuracy, while the use of pre-trained models allows for quick deployment and integration, reducing the time required for model training and fine-tuning.

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.