← Back to Products
Image Generation

DALL-E 3

State-of-the-art image generation model with enhanced creativity

DALL-E 3 revolutionizes image creation with its ability to generate highly detailed and creative visuals from text descriptions. The model understands complex prompts and can create images in various artistic styles, from photorealistic to abstract art. It features improved safety measures and better adherence to user prompts, making it an invaluable tool for artists, designers, and content creators.

Features

Resolution
1024x1024 pixels
Style Range
Photorealistic to abstract
Prompt Adherence
Enhanced understanding
Safety Filters
Built-in content moderation

Layout example

Add the widget script to your layout for multiple pages.

File:components/SensayScript.tsx
"use client";

import Script from "next/script";
import { useEffect, useId } from "react";

export default function SensayScript({ src }: { src: string }) {
  // Generate a unique ID for script so NextJS can run it on client side navigation.
  // NextJS Script component by default runs script only once based on the src value.
  const id = useId();
  const url = new URL(src);
  url.searchParams.set("id", id);

  // Destroy the chatbot when the component unmounts.
  // Destroy chatbot elements as NextJS doesn't clean up the Script component on client side navigation.
  useEffect(() => {
    return () => {
      window.SensayChatbot?.destroy();
    };
  }, []);

  return <Script src={url.toString()} strategy="afterInteractive" />;
}
File:app/products/layout.tsx
import SensayScript from "@/components/SensayScript";

export default function ProductsLayout({ children }) {
  return (
    <div>
      {children}
      <SensayScript src="https://chat-widget.sensay.io/<chatbot-identifier>/embed-script.js" />
    </div>
  )
}