diff --git a/pages/api/banana-upsample.ts b/pages/api/banana-upsample.ts index 7d043df..26d3137 100644 --- a/pages/api/banana-upsample.ts +++ b/pages/api/banana-upsample.ts @@ -14,6 +14,14 @@ import { UpsampleModelInputs, } from "../../src/schemas"; +export const config = { + api: { + bodyParser: { + sizeLimit: "4mb", + }, + }, +}; + const apiKey = process.env.BANANA_API_KEY; const MONGO_URL = process.env.MONGO_URL || "mongodb://127.0.0.1";