There are 2 ways to add your Fireworks credentials to your requests:

Add it from the UI

1

Go to the Credentials page

2

Add your Fireworks credentials.

Add it in code

  • Add customer_credentials parameter in your request body to use your own Fireworks credits.
{
  // Rest of the request body
  "customer_credentials": {
    "fireworks": {
      "api_key": "YOUR_FIREWORKS_API_KEY",
    }
  }
}

Full request example