Sift Web Tools
Generate an image from a text prompt (PNG). Text-to-image with Google's Gemini image model. Aspect ratios 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Prompts refused by the model's safety filter are not charged.
- Price per call
- $0.08
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 4
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://sift.srv1996466.hstgr.cloud/v1/image", { method: "GET" });
console.log(await res.json());https://sift.srv1996466.hstgr.cloud/v1/image