diff --git a/packages/inference/src/providers/replicate.ts b/packages/inference/src/providers/replicate.ts index eb28a207b..0bfeddfa8 100644 --- a/packages/inference/src/providers/replicate.ts +++ b/packages/inference/src/providers/replicate.ts @@ -6,9 +6,19 @@ type ReplicateId = string; export const REPLICATE_SUPPORTED_MODEL_IDS: ProviderMapping = { "text-to-image": { + "black-forest-labs/FLUX.1-dev": "black-forest-labs/flux-dev", "black-forest-labs/FLUX.1-schnell": "black-forest-labs/flux-schnell", + "ByteDance/Hyper-SD": + "bytedance/hyper-flux-16step:382cf8959fb0f0d665b26e7e80b8d6dc3faaef1510f14ce017e8c732bb3d1eb7", "ByteDance/SDXL-Lightning": "bytedance/sdxl-lightning-4step:5599ed30703defd1d160a25a63321b4dec97101d98b4674bcc56e41f62f35637", + "playgroundai/playground-v2.5-1024px-aesthetic": + "playgroundai/playground-v2.5-1024px-aesthetic:a45f82a1382bed5c7aeb861dac7c7d191b0fdf74d8d57c4a0e6ed7d4d0bf7d24", + "stabilityai/stable-diffusion-3.5-large-turbo": "stability-ai/stable-diffusion-3.5-large-turbo", + "stabilityai/stable-diffusion-3.5-large": "stability-ai/stable-diffusion-3.5-large", + "stabilityai/stable-diffusion-3.5-medium": "stability-ai/stable-diffusion-3.5-medium", + "stabilityai/stable-diffusion-xl-base-1.0": + "stability-ai/sdxl:7762fd07cf82c948538e41f63f77d685e02b063e37e496e96eefd46c929f9bdc", }, "text-to-speech": { "OuteAI/OuteTTS-0.3-500M": "jbilcke/oute-tts:39a59319327b27327fa3095149c5a746e7f2aee18c75055c3368237a6503cd26", diff --git a/packages/inference/test/HfInference.spec.ts b/packages/inference/test/HfInference.spec.ts index b49a69c0a..88b7c2489 100644 --- a/packages/inference/test/HfInference.spec.ts +++ b/packages/inference/test/HfInference.spec.ts @@ -838,7 +838,7 @@ describe.concurrent("HfInference", () => { () => { const client = new HfInference(env.HF_REPLICATE_KEY); - it("textToImage canonical", async () => { + it("textToImage canonical - black-forest-labs/FLUX.1-schnell", async () => { const res = await client.textToImage({ model: "black-forest-labs/FLUX.1-schnell", provider: "replicate", @@ -847,11 +847,57 @@ describe.concurrent("HfInference", () => { expect(res).toBeInstanceOf(Blob); }); - it("textToImage versioned", async () => { + it("textToImage canonical - black-forest-labs/FLUX.1-dev", async () => { + const res = await client.textToImage({ + model: "black-forest-labs/FLUX.1-dev", + provider: "replicate", + inputs: + "A tiny laboratory deep in the Black Forest where squirrels in lab coats experiment with mixing chocolate and pine cones", + }); + expect(res).toBeInstanceOf(Blob); + }); + + it("textToImage canonical - stabilityai/stable-diffusion-3.5-large-turbo", async () => { + const res = await client.textToImage({ + model: "stabilityai/stable-diffusion-3.5-large-turbo", + provider: "replicate", + inputs: "A confused rubber duck wearing a tiny wizard hat trying to cast spells with a banana wand", + }); + expect(res).toBeInstanceOf(Blob); + }); + + it("textToImage versioned - ByteDance/SDXL-Lightning", async () => { const res = await client.textToImage({ model: "ByteDance/SDXL-Lightning", provider: "replicate", - inputs: "black forest gateau cake spelling out the words FLUX SCHNELL, tasty, food photography, dynamic shot", + inputs: "A grumpy storm cloud wearing sunglasses and throwing tiny lightning bolts like confetti", + }); + expect(res).toBeInstanceOf(Blob); + }); + + it("textToImage versioned - ByteDance/Hyper-SD", async () => { + const res = await client.textToImage({ + model: "ByteDance/Hyper-SD", + provider: "replicate", + inputs: "A group of dancing bytes wearing tiny party hats doing the macarena in cyberspace", + }); + expect(res).toBeInstanceOf(Blob); + }); + + it("textToImage versioned - playgroundai/playground-v2.5-1024px-aesthetic", async () => { + const res = await client.textToImage({ + model: "playgroundai/playground-v2.5-1024px-aesthetic", + provider: "replicate", + inputs: "A playground where slides turn into rainbows and swings launch kids into cotton candy clouds", + }); + expect(res).toBeInstanceOf(Blob); + }); + + it("textToImage versioned - stabilityai/stable-diffusion-xl-base-1.0", async () => { + const res = await client.textToImage({ + model: "stabilityai/stable-diffusion-xl-base-1.0", + provider: "replicate", + inputs: "An octopus juggling watermelons underwater while wearing scuba gear", }); expect(res).toBeInstanceOf(Blob); }); diff --git a/packages/inference/test/tapes.json b/packages/inference/test/tapes.json index 052ff985f..208c7ba18 100644 --- a/packages/inference/test/tapes.json +++ b/packages/inference/test/tapes.json @@ -5255,5 +5255,323 @@ "vary": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers, origin, access-control-request-method, access-control-request-headers" } } + }, + "237a52812a828f41329e8e136f498f3f8f0c38537702db3762badb2f33de677b": { + "url": "https://api.replicate.com/v1/models/stability-ai/stable-diffusion-3.5-large-turbo/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"A confused rubber duck wearing a tiny wizard hat trying to cast spells with a banana wand\"}}" + }, + "response": { + "body": "{\"id\":\"tge8q9qbksrm80cmjgbbjftg0c\",\"model\":\"stability-ai/stable-diffusion-3.5-large-turbo\",\"version\":\"dp-8d5be2e159bd4220b110d138c8956522\",\"input\":{\"prompt\":\"A confused rubber duck wearing a tiny wizard hat trying to cast spells with a banana wand\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/xezq/NR0fetAteIBfFQ2CgTrIeZCYNQUotSR025W8AUeFLQZndmACF/out-0.webp\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:17.662Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/tge8q9qbksrm80cmjgbbjftg0c/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/tge8q9qbksrm80cmjgbbjftg0c\",\"stream\":\"https://stream.replicate.com/v1/files/bcwr-pbnbj7fte7sv2ewd5vxnggzixc2gyb5vjwo7ffz73uxw335dkgya\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f7ce90200b1-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "598", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qfUe9IU1DL3GoNbM3Jq0Rb1OZHGU2%2FwoLJp%2F2RCWHPkIciGFV2fev5uq%2FCDhUO%2F6%2F%2FRfKSo72%2BLdoKydbr07I1GknRnMZxpw26eExTEWVVBZPIf4b7gh%2Bm8gaICkDnq7fThL\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=4208&min_rtt=3917&rtt_var=1677&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2848&recv_bytes=979&delivery_rate=739341&cwnd=240&unsent_bytes=0&cid=1a5d12abed2bbe0f&ts=1571&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "5508d25bb1a90abd6733d342b1ea4deacbef495fa95582897314677498e73b26": { + "url": "https://replicate.delivery/xezq/NR0fetAteIBfFQ2CgTrIeZCYNQUotSR025W8AUeFLQZndmACF/out-0.webp", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "image/webp", + "etag": "\"03308fc89106d3e6664ceeaf70b26632\"", + "last-modified": "Thu, 23 Jan 2025 16:55:18 GMT", + "server": "UploadServer" + } + } + }, + "f90974b729a0a7d79d22835b52e2be70ad9c3ee37b748f1612a47c712ea50e57": { + "url": "https://api.replicate.com/v1/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"A grumpy storm cloud wearing sunglasses and throwing tiny lightning bolts like confetti\"},\"version\":\"5599ed30703defd1d160a25a63321b4dec97101d98b4674bcc56e41f62f35637\"}" + }, + "response": { + "body": "{\"id\":\"xt4vhcqc0hrj00cmjgbbmrcd6m\",\"model\":\"bytedance/sdxl-lightning-4step\",\"version\":\"5599ed30703defd1d160a25a63321b4dec97101d98b4674bcc56e41f62f35637\",\"input\":{\"prompt\":\"A grumpy storm cloud wearing sunglasses and throwing tiny lightning bolts like confetti\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/yhqm/fREUr5U0m7VuYqY62j7jeO1Aji9GVAeNrF3dSZP4iX5xzEQoA/out-0.png\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:17.764Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/xt4vhcqc0hrj00cmjgbbmrcd6m/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/xt4vhcqc0hrj00cmjgbbmrcd6m\",\"stream\":\"https://stream.replicate.com/v1/files/yswh-ce7xzzm22b6w5j53zplwf7j7nbvr6fbfq6u4jrfsrlog7dom7ugq\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f7cf902ebac-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "596", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wu%2FbHgNKkLK5KGkHUtZdloTfbhy1OjcES6DZAGbDdPgn%2FE8uDoQX9CdxjXbsZ7pXP6eoRAPrMEkcdXJb4BxfU1dvozkhiKOyyGk20EDaDApdfEwzL0Xd8Ud3835qtSPXhRfI\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=6352&min_rtt=5617&rtt_var=2632&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2848&recv_bytes=1001&delivery_rate=515577&cwnd=237&unsent_bytes=0&cid=174f4fccb8fcd67d&ts=3321&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "770b0f9359aa04d71773331ae5b2c7c6bd0800b21fb92aad687847da768e51a3": { + "url": "https://api.replicate.com/v1/models/black-forest-labs/flux-dev/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"A tiny laboratory deep in the Black Forest where squirrels in lab coats experiment with mixing chocolate and pine cones\"}}" + }, + "response": { + "body": "{\"id\":\"j8e7v27bk9rma0cmjgb85grzgg\",\"model\":\"black-forest-labs/flux-dev\",\"version\":\"dp-5ef4d48e7d4b468eb6478ff87ba26638\",\"input\":{\"prompt\":\"A tiny laboratory deep in the Black Forest where squirrels in lab coats experiment with mixing chocolate and pine cones\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/xezq/fN4xfry7jrq1kUHlqXPgn5lpiqK26P6hbbaJ38OLWBD4ZCIUA/out-0.webp\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:17.658Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/j8e7v27bk9rma0cmjgb85grzgg/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/j8e7v27bk9rma0cmjgb85grzgg\",\"stream\":\"https://stream.replicate.com/v1/files/bcwr-5udkjd7buommli6d4nwouq3qwqcozqxbivvgzf6okeh5z5pxmqwq\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f7ceb9ed5f1-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "599", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=qYzqM9wUnUbca2z455fl3yi3o%2BlKZWQ9EG%2FHatSJ1a5HiPt6dmw%2BhsEvqBvWTxuwhWPWeXLW9rYhJFDDWYmOurkxO%2BXLwDLM0BI4D2NZiuI31J7aK8JOeXTLCETUFj%2BNDNra\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=4441&min_rtt=4238&rtt_var=1997&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2848&recv_bytes=990&delivery_rate=493440&cwnd=249&unsent_bytes=0&cid=bb333c773d9a0067&ts=3414&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "6b1e280c56a723c6f7198d4d7e294c13f068378ad98f0ccbfbe86ae404365423": { + "url": "https://replicate.delivery/xezq/fN4xfry7jrq1kUHlqXPgn5lpiqK26P6hbbaJ38OLWBD4ZCIUA/out-0.webp", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "application/octet-stream", + "etag": "\"4deb0089e09f2c419f5113ff7f593df0\"", + "last-modified": "Thu, 23 Jan 2025 16:55:20 GMT", + "server": "UploadServer" + } + } + }, + "15ea7a4d3188e7af4dd9e4fa315c93db8e4981a6feba2c0f139634324c5f2cce": { + "url": "https://replicate.delivery/yhqm/fREUr5U0m7VuYqY62j7jeO1Aji9GVAeNrF3dSZP4iX5xzEQoA/out-0.png", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "image/png", + "etag": "\"ee40bff486671f3c5b5183e7afbafc8b\"", + "last-modified": "Thu, 23 Jan 2025 16:55:20 GMT", + "server": "UploadServer" + } + } + }, + "0e8437f4a9dd6607ca75a613ec6eef6f097bfd12ef1fad0e844f03532538176a": { + "url": "https://api.replicate.com/v1/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"A playground where slides turn into rainbows and swings launch kids into cotton candy clouds\"},\"version\":\"a45f82a1382bed5c7aeb861dac7c7d191b0fdf74d8d57c4a0e6ed7d4d0bf7d24\"}" + }, + "response": { + "body": "{\"id\":\"sg223wfc81rj00cmjgb9qbcs1c\",\"model\":\"playgroundai/playground-v2.5-1024px-aesthetic\",\"version\":\"a45f82a1382bed5c7aeb861dac7c7d191b0fdf74d8d57c4a0e6ed7d4d0bf7d24\",\"input\":{\"prompt\":\"A playground where slides turn into rainbows and swings launch kids into cotton candy clouds\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/yhqm/DK0jgSJaMMr2Fhn20p3A81nQNfFzn9ajJXJRp7EX6Xn8MBEKA/out-0.png\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:17.824Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/sg223wfc81rj00cmjgb9qbcs1c/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/sg223wfc81rj00cmjgb9qbcs1c\",\"stream\":\"https://stream.replicate.com/v1/files/qoxq-wakcaxg6y7ul7ii5dskquo2rpu2mhbib6em4ulqjupanismlnwrq\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f7cfb20bb1c-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "597", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=65X8Yq5Q0B9S9QQiplgQHMNAhOjr8pRJeFwwRHcCwF5HLU2HDF87tcLLXfHLBDPEHV84trFzM0yB4v3j%2F4DGoNwuioUNufHba8UiLWI0HKMG5cgvGaWHmdWEPUhmSU1k3otw\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=4994&min_rtt=3867&rtt_var=2255&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2848&recv_bytes=1006&delivery_rate=748900&cwnd=217&unsent_bytes=0&cid=f15e1a0f1eb988d8&ts=4544&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "050795f5074932cd9e142f65fdad1b4022d8f0ad789c1b69b332bb40ce83cf71": { + "url": "https://replicate.delivery/yhqm/DK0jgSJaMMr2Fhn20p3A81nQNfFzn9ajJXJRp7EX6Xn8MBEKA/out-0.png", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "image/png", + "etag": "\"c2dac4daa5817c1b7490ec03661caed1\"", + "last-modified": "Thu, 23 Jan 2025 16:55:21 GMT", + "server": "UploadServer" + } + } + }, + "b023927e4e66cdd6615b69d19bf495020982f163f9d4e5557a4acba2359b4c00": { + "url": "https://api.replicate.com/v1/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"A group of dancing bytes wearing tiny party hats doing the macarena in cyberspace\"},\"version\":\"382cf8959fb0f0d665b26e7e80b8d6dc3faaef1510f14ce017e8c732bb3d1eb7\"}" + }, + "response": { + "body": "{\"id\":\"2h3982fbzhrmc0cmjgb8f3y0nw\",\"model\":\"bytedance/hyper-flux-16step\",\"version\":\"382cf8959fb0f0d665b26e7e80b8d6dc3faaef1510f14ce017e8c732bb3d1eb7\",\"input\":{\"prompt\":\"A group of dancing bytes wearing tiny party hats doing the macarena in cyberspace\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/xezq/ntdp4nW3Yz6aDRTxO80ixs7SkXye2WuUrJMEm9FxlHj9MBEKA/out-0.webp\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:17.756Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/2h3982fbzhrmc0cmjgb8f3y0nw/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/2h3982fbzhrmc0cmjgb8f3y0nw\",\"stream\":\"https://stream.replicate.com/v1/files/bcwr-3demlueczjdhrzdl3uknfndi4beemxhypcaqecxnswjyaueyiqjq\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f7cfc9f6f39-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "596", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=s4n3jRf8Yd4ZCsTT5vvTn2TXDpLefyuLfpD5dBGfE89QDoNeCbFYn%2FTZxAr%2BUGkGGRdcIoP3BbfcKW0KMQlJVFbtJ8ZGr9so%2BeAgwd1sktJRWskhcjxwRRsanImmu4QNqADq\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=5445&min_rtt=5227&rtt_var=1849&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2848&recv_bytes=995&delivery_rate=469824&cwnd=239&unsent_bytes=0&cid=1b9e4297227f94c3&ts=6675&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "8dc0b077e20a3ae7b2c8b34aa491287c26e455914f8588b22c57a8cddc620259": { + "url": "https://replicate.delivery/xezq/ntdp4nW3Yz6aDRTxO80ixs7SkXye2WuUrJMEm9FxlHj9MBEKA/out-0.webp", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "application/octet-stream", + "etag": "\"d31d2eb7c5ceb907a36ff35d56e980e2\"", + "last-modified": "Thu, 23 Jan 2025 16:55:23 GMT", + "server": "UploadServer" + } + } + }, + "94f0d86d87eb9dbd09ea4b770aaf36f6eedfc4bcd3decf3417a19cb9767149e6": { + "url": "https://api.replicate.com/v1/predictions", + "init": { + "headers": { + "Content-Type": "application/json", + "Prefer": "wait" + }, + "method": "POST", + "body": "{\"input\":{\"prompt\":\"An octopus juggling watermelons underwater while wearing scuba gear\"},\"version\":\"7762fd07cf82c948538e41f63f77d685e02b063e37e496e96eefd46c929f9bdc\"}" + }, + "response": { + "body": "{\"id\":\"3232aqzhdsrme0cmjgb972dha8\",\"model\":\"stability-ai/sdxl\",\"version\":\"7762fd07cf82c948538e41f63f77d685e02b063e37e496e96eefd46c929f9bdc\",\"input\":{\"prompt\":\"An octopus juggling watermelons underwater while wearing scuba gear\"},\"logs\":\"\",\"output\":[\"https://replicate.delivery/xezq/bxJTSzZw6Y51KJBOxLo2qXikGbkChVpiKeCpu3iMgoeBaCIUA/out-0.png\"],\"data_removed\":false,\"error\":null,\"status\":\"processing\",\"created_at\":\"2025-01-23T16:55:19.15Z\",\"urls\":{\"cancel\":\"https://api.replicate.com/v1/predictions/3232aqzhdsrme0cmjgb972dha8/cancel\",\"get\":\"https://api.replicate.com/v1/predictions/3232aqzhdsrme0cmjgb972dha8\",\"stream\":\"https://stream.replicate.com/v1/files/bsvm-jczdydqnlmlgeu7j2jmpodmqylvuzmrt53o3clznqf4a2vqlh2gq\"}}", + "status": 201, + "statusText": "Created", + "headers": { + "alt-svc": "h3=\":443\"; ma=86400", + "cf-cache-status": "DYNAMIC", + "cf-ray": "90694f87fe1c00b1-CDG", + "connection": "keep-alive", + "content-type": "application/json; charset=UTF-8", + "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", + "preference-applied": "wait=60", + "ratelimit-remaining": "599", + "ratelimit-reset": "1", + "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=XkSQvzZhug2oQGq3cLuD%2B9%2BVLzGa3TPu64xi2N08sfwgmge3fP8aXXqSH6JyE8H7DpqcdNS1j17VXLSKlKER9zBsZ7QY2jpJnKJpfPea3ymxSvBRadbykyxx8OYZfIITQ9Ri\"}],\"group\":\"cf-nel\",\"max_age\":604800}", + "server": "cloudflare", + "server-timing": "cfL4;desc=\"?proto=TCP&rtt=4199&min_rtt=3917&rtt_var=1275&sent=8&recv=7&lost=0&retrans=0&sent_bytes=5079&recv_bytes=1490&delivery_rate=1049782&cwnd=243&unsent_bytes=0&cid=1a5d12abed2bbe0f&ts=12725&x=0\"", + "strict-transport-security": "max-age=15552000", + "vary": "Accept-Encoding" + } + } + }, + "63fcae7cf47d39922c76c1622993e380afd3ff580fb969a9cb989765e6df1669": { + "url": "https://replicate.delivery/xezq/bxJTSzZw6Y51KJBOxLo2qXikGbkChVpiKeCpu3iMgoeBaCIUA/out-0.png", + "init": {}, + "response": { + "body": "", + "status": 200, + "statusText": "OK", + "headers": { + "accept-ranges": "bytes", + "access-control-allow-origin": "*", + "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000", + "cache-control": "public,max-age=3600", + "cache-id": "PAR-31976c84", + "cache-status": "miss", + "content-type": "image/png", + "etag": "\"876b0878f547b8fd34501f181fd13326\"", + "last-modified": "Thu, 23 Jan 2025 16:55:29 GMT", + "server": "UploadServer" + } + } } } \ No newline at end of file