📖 To learn more, take a look at our complete API

📤 Example Request

  1. Generate an api key below👇

  2. Install node-fetch & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code and don't use direcly in the browser.

$ npm install node-fetch
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import fetch from 'node-fetch';

const payload = {
  "input_prompt": "who was behind the scenius event in feb",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about artsfund"
    },
    {
      "role": "assistant",
      "content": "ArtsFund is an organization dedicated to supporting the arts through leadership, advocacy, and grantmaking, with the goal of building a healthy, equitable, and creative Washington. It has been strengthening the community for over 52 years by raising funds from individuals and businesses to provide grants and organizational support to the nonprofit arts and culture sector in the region. ArtsFund has awarded over $100 million in grants to 650 arts and cultural nonprofits.\n\nTheir mission is centered around creating a dynamic, equitable, and robust cultural sector where the arts are accessible to all and valued as central to a healthy society. ArtsFund\u2019s activities include leadership and advocacy programs, board leadership training, convenings, and building networks through the Cultural Partners Network.\n\nArtsFund also conducts research and studies, such as the COVID Cultural Impact Study, to explore the impacts of arts on various social issues like education and youth development, health and wellness, and neighborhood vitality. These efforts highlight how arts can address racial and social justice and bridge cultural divides."
    },
    {
      "role": "user",
      "content": "hi"
    },
    {
      "role": "assistant",
      "content": "Hello! I'm your new Creative Economy BFF, here to help you explore Seattle's creative scene and resources. Whether you're curious about upcoming Scenius Socials, need tips on navigating the local arts economy, or just want to chat about your creative projects, I'm here for you. Feel free to ask me anything or share what you've been working on to make Seattle shine!"
    },
    {
      "role": "user",
      "content": "What is Seattle's creative economy look like now"
    },
    {
      "role": "assistant",
      "content": "Seattle's creative economy is thriving and continues to be a significant driver of the city's economic output. Here are some key insights:\n\n1. **Economic Contribution**: The creative economy contributes to 18% of Seattle's GDP, which is significantly higher than the national average. This sector includes music, film, graphic design, and gaming, among others.\n\n2. **Growth and Innovation**: The creative economy in Greater Seattle is projected to grow by 10% by 2028. It plays a crucial role in driving innovation, economic impact, and cultural influence across the region.\n\n3. **Statewide Impact**: Across Washington state, the creative sector contributes nearly $120 billion annually to the state's GDP, accounting for about 20% of the economy.\n\n4. **Creative Vitality Index**: Washington state has a Creative Vitality Index of 1.32, which is above the national baseline, indicating a robust creative sector compared to other regions.\n\nOverall, Seattle's creative economy is not only a cornerstone of its cultural identity but also a vital component of its economic landscape, fostering innovation and cultural richness."
    },
    {
      "role": "user",
      "content": "Are there people working at the intersection of education and arts here in seattle"
    },
    {
      "role": "assistant",
      "content": "Yes, there are several organizations and initiatives in Seattle working at the intersection of education and the arts:\n\n1. **Arts Corps**: This nonprofit organization focuses on providing high-quality arts education, particularly in areas with limited access. Arts Corps works with teachers to integrate arts into the curriculum, aiming to create a \"creative school\" environment where subjects like math and language arts are taught through artistic expression.\n\n2. **Path with Art**: This organization provides arts education programs and community engagement opportunities. They offer classes in various art forms, such as printmaking and poetry, taught by professional artists. These programs are aimed at fostering community connections and providing creative outlets for diverse groups.\n\nBoth organizations highlight the importance of integrating arts into educational settings to support social-emotional development and bridge cultural and language barriers."
    }
  ]
};

async function gooeyAPI() {
  const response = await fetch("https://test.api.gooey.ai/v2/video-bots?example_id=sg04u82yil6p", {
    method: "POST",
    headers: {
      "Authorization": "bearer " + process.env["GOOEY_API_KEY"],
      "Content-Type": "application/json",
    },
    body: JSON.stringify(payload),
  });

  if (!response.ok) {
    throw new Error(response.status);
  }

  const result = await response.json();
  console.log(response.status, result);
}

gooeyAPI();
  1. Generate an api key below👇

  2. Install requests & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

$ python3 -m pip install requests
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import os
import requests

payload = {
    "input_prompt": "who was behind the scenius event in feb",
    "messages": [
        {"role": "user", "content": "Tell me about artsfund"},
        {
            "role": "assistant",
            "content": "ArtsFund is an organization dedicated to supporting the arts through leadership, advocacy, and grantmaking, with the goal of building a healthy, equitable, and creative Washington. It has been strengthening the community for over 52 years by raising funds from individuals and businesses to provide grants and organizational support to the nonprofit arts and culture sector in the region. ArtsFund has awarded over $100 million in grants to 650 arts and cultural nonprofits.\n\nTheir mission is centered around creating a dynamic, equitable, and robust cultural sector where the arts are accessible to all and valued as central to a healthy society. ArtsFund’s activities include leadership and advocacy programs, board leadership training, convenings, and building networks through the Cultural Partners Network.\n\nArtsFund also conducts research and studies, such as the COVID Cultural Impact Study, to explore the impacts of arts on various social issues like education and youth development, health and wellness, and neighborhood vitality. These efforts highlight how arts can address racial and social justice and bridge cultural divides.",
        },
        {"role": "user", "content": "hi"},
        {
            "role": "assistant",
            "content": "Hello! I'm your new Creative Economy BFF, here to help you explore Seattle's creative scene and resources. Whether you're curious about upcoming Scenius Socials, need tips on navigating the local arts economy, or just want to chat about your creative projects, I'm here for you. Feel free to ask me anything or share what you've been working on to make Seattle shine!",
        },
        {"role": "user", "content": "What is Seattle's creative economy look like now"},
        {
            "role": "assistant",
            "content": "Seattle's creative economy is thriving and continues to be a significant driver of the city's economic output. Here are some key insights:\n\n1. **Economic Contribution**: The creative economy contributes to 18% of Seattle's GDP, which is significantly higher than the national average. This sector includes music, film, graphic design, and gaming, among others.\n\n2. **Growth and Innovation**: The creative economy in Greater Seattle is projected to grow by 10% by 2028. It plays a crucial role in driving innovation, economic impact, and cultural influence across the region.\n\n3. **Statewide Impact**: Across Washington state, the creative sector contributes nearly $120 billion annually to the state's GDP, accounting for about 20% of the economy.\n\n4. **Creative Vitality Index**: Washington state has a Creative Vitality Index of 1.32, which is above the national baseline, indicating a robust creative sector compared to other regions.\n\nOverall, Seattle's creative economy is not only a cornerstone of its cultural identity but also a vital component of its economic landscape, fostering innovation and cultural richness.",
        },
        {
            "role": "user",
            "content": "Are there people working at the intersection of education and arts here in seattle",
        },
        {
            "role": "assistant",
            "content": 'Yes, there are several organizations and initiatives in Seattle working at the intersection of education and the arts:\n\n1. **Arts Corps**: This nonprofit organization focuses on providing high-quality arts education, particularly in areas with limited access. Arts Corps works with teachers to integrate arts into the curriculum, aiming to create a "creative school" environment where subjects like math and language arts are taught through artistic expression.\n\n2. **Path with Art**: This organization provides arts education programs and community engagement opportunities. They offer classes in various art forms, such as printmaking and poetry, taught by professional artists. These programs are aimed at fostering community connections and providing creative outlets for diverse groups.\n\nBoth organizations highlight the importance of integrating arts into educational settings to support social-emotional development and bridge cultural and language barriers.',
        },
    ],
}

response = requests.post(
    "https://test.api.gooey.ai/v2/video-bots?example_id=sg04u82yil6p",
    headers={
        "Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
    },
    json=payload,
)
assert response.ok, response.content

result = response.json()
print(response.status_code, result)
  1. Generate an api key below👇

  2. Install curl & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

export GOOEY_API_KEY=sk-xxxx
  1. Run the following curl command in your terminal.
    If you encounter any issues, write to us at [email protected] and make sure to include the full curl command and the error message.
curl 'https://test.api.gooey.ai/v2/video-bots?example_id=sg04u82yil6p' \
  -H "Authorization: bearer $GOOEY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "input_prompt": "who was behind the scenius event in feb",
  "messages": [
    {
      "role": "user",
      "content": "Tell me about artsfund"
    },
    {
      "role": "assistant",
      "content": "ArtsFund is an organization dedicated to supporting the arts through leadership, advocacy, and grantmaking, with the goal of building a healthy, equitable, and creative Washington. It has been strengthening the community for over 52 years by raising funds from individuals and businesses to provide grants and organizational support to the nonprofit arts and culture sector in the region. ArtsFund has awarded over $100 million in grants to 650 arts and cultural nonprofits.\n\nTheir mission is centered around creating a dynamic, equitable, and robust cultural sector where the arts are accessible to all and valued as central to a healthy society. ArtsFund\u2019s activities include leadership and advocacy programs, board leadership training, convenings, and building networks through the Cultural Partners Network.\n\nArtsFund also conducts research and studies, such as the COVID Cultural Impact Study, to explore the impacts of arts on various social issues like education and youth development, health and wellness, and neighborhood vitality. These efforts highlight how arts can address racial and social justice and bridge cultural divides."
    },
    {
      "role": "user",
      "content": "hi"
    },
    {
      "role": "assistant",
      "content": "Hello! I'"'"'m your new Creative Economy BFF, here to help you explore Seattle'"'"'s creative scene and resources. Whether you'"'"'re curious about upcoming Scenius Socials, need tips on navigating the local arts economy, or just want to chat about your creative projects, I'"'"'m here for you. Feel free to ask me anything or share what you'"'"'ve been working on to make Seattle shine!"
    },
    {
      "role": "user",
      "content": "What is Seattle'"'"'s creative economy look like now"
    },
    {
      "role": "assistant",
      "content": "Seattle'"'"'s creative economy is thriving and continues to be a significant driver of the city'"'"'s economic output. Here are some key insights:\n\n1. **Economic Contribution**: The creative economy contributes to 18% of Seattle'"'"'s GDP, which is significantly higher than the national average. This sector includes music, film, graphic design, and gaming, among others.\n\n2. **Growth and Innovation**: The creative economy in Greater Seattle is projected to grow by 10% by 2028. It plays a crucial role in driving innovation, economic impact, and cultural influence across the region.\n\n3. **Statewide Impact**: Across Washington state, the creative sector contributes nearly $120 billion annually to the state'"'"'s GDP, accounting for about 20% of the economy.\n\n4. **Creative Vitality Index**: Washington state has a Creative Vitality Index of 1.32, which is above the national baseline, indicating a robust creative sector compared to other regions.\n\nOverall, Seattle'"'"'s creative economy is not only a cornerstone of its cultural identity but also a vital component of its economic landscape, fostering innovation and cultural richness."
    },
    {
      "role": "user",
      "content": "Are there people working at the intersection of education and arts here in seattle"
    },
    {
      "role": "assistant",
      "content": "Yes, there are several organizations and initiatives in Seattle working at the intersection of education and the arts:\n\n1. **Arts Corps**: This nonprofit organization focuses on providing high-quality arts education, particularly in areas with limited access. Arts Corps works with teachers to integrate arts into the curriculum, aiming to create a \"creative school\" environment where subjects like math and language arts are taught through artistic expression.\n\n2. **Path with Art**: This organization provides arts education programs and community engagement opportunities. They offer classes in various art forms, such as printmaking and poetry, taught by professional artists. These programs are aimed at fostering community connections and providing creative outlets for diverse groups.\n\nBoth organizations highlight the importance of integrating arts into educational settings to support social-emotional development and bridge cultural and language barriers."
    }
  ]
}'

🎁 Example Response

{4 Items
"id"
:
string
"v2yg0a48463s"
"url"
:
string
"https://test.gooey.ai/copilot/"
"created_at"
:
string
"2025-09-25T11:57:04.073627+00:00"
"output"
:
{15 Items
"final_prompt"
:
[12 Items
0
:
{
}2 Items
1
:
{
}2 Items
2
:
{
}2 Items
3
:
{
}2 Items
4
:
{
}2 Items
5
:
{
}2 Items
6
:
{
}2 Items
7
:
{
}2 Items
8
:
{
}2 Items
9
:
{
}2 Items
10
:
{
}3 Items
11
:
{
}3 Items
]
"output_text"
:
[1 Items
0
:
string
"The Scenius event held in February was organized b"
]
"output_audio"
:
NULL
"output_video"
:
NULL
"raw_input_text"
:
string
"who was behind the scenius event in feb"
"raw_tts_text"
:
NULL
"raw_output_text"
:
[1 Items
0
:
string
"The Scenius event held in February was organized b"
]
"references"
:
[4 Items
0
:
{
}4 Items
1
:
{
}4 Items
2
:
{
}4 Items
3
:
{
}4 Items
]
"final_search_query"
:
string
"You mentioned people and organizations in Seattle "
"final_keyword_query"
:
NULL
"output_documents"
:
NULL
"reply_buttons"
:
NULL
"finish_reason"
:
[1 Items
0
:
string
"stop"
]
"metrics"
:
NULL
"called_functions"
:
[1 Items
0
:
{
}3 Items
]
}
}

Please Login to generate the $GOOEY_API_KEY