// このモデル(higgsfield-ai/soul/v2/image-to-image)の Orchestor API での提供は未定です。const headers = { Authorization: `Bearer ${process.env.ORCHESTOR_API_KEY}` };const submit = await fetch("https://api.orchestor.io/v1/image-router/generate", { method: "POST", headers: { ...headers, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() }, body: JSON.stringify({ "model": "<model>", "mode": "async", "seed": null, "prompt": "夕暮れの映画のようなシーン", "image_url": "https://example.com/input", "batch_size": 1, "resolution": "720p", "aspect_ratio": "4:3", "enhance_prompt": "夕暮れの映画のようなシーン", "custom_reference_id": null, "custom_reference_strength": 1 }),});const { data } = await submit.json();console.log(data.job.id, data.status_url);リクエストはまだありません
このモデルを実行すると、ここにリクエストが表示されます。