# Dyno Psi
Generate binder backbones with Dyno's DynoPSI-1 flow-matching model.
- Job type: `DYNOPSI`
- Task: Binder design
- Price: 10 credits per 100 designs
- Workload: A fixed number of designs; time scales with the count.
- Behavior and limits: `hotspots` are required. `binder_center_of_mass` is required for the default `binder_centering=predefined`; set `binder_centering=sphere_exclusion` to omit it and have the centre computed from the hotspots at sample time, or `binder_centering=fixed_hotspot_offset` to omit it and place the centre 10 Å out along the target-to-hotspot vector. Hotspots use 'Chain:Residue' form, e.g. 'A7:58'.
- Hotspot input: `params.hotspots`, author numbered
- Source: Dyno Therapeutics (https://www.dynotx.com)
- Paper: citation pending

## Example

### CLI

```bash
# binder_center_of_mass takes a list the example cannot fill; pass it from Python or HTTP
# binder_lengths takes a list the example cannot fill; pass it from Python or HTTP
phi jobs submit DYNOPSI \
  --input target_cif=@target.cif \
  --input target_chain_id=A \
  --param hotspots=A150,A154,A156 \
  --param num_samples=10 \
  --param num_timesteps=60 \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    target_cif = phi.files.upload(path="target.cif")
    job = phi.jobs.submit(
        "DYNOPSI",
        inputs={
        "binder_center_of_mass": [],
        "target_cif_gcs_uri": target_cif,
        "target_chain_id": "A"
        },
        params={
        "hotspots": [
                "A150",
                "A154",
                "A156"
        ],
        "binder_lengths": [],
        "num_samples": 10,
        "num_timesteps": 60
        },
    )
    print(phi.jobs.wait(job.job_id).status)
```

### HTTP

```bash
curl -X POST https://api.dynophi.com/v1/jobs \
  -H "x-api-key: $PHI_KEY" -H "content-type: application/json" \
  -d '{
  "job_type": "DYNOPSI",
  "inputs": {
    "binder_center_of_mass": [],
    "target_cif_gcs_uri": "<gs:// uri from POST /v1/uploads/url>",
    "target_chain_id": "A"
  },
  "params": {
    "hotspots": [
      "A150",
      "A154",
      "A156"
    ],
    "binder_lengths": [],
    "num_samples": 10,
    "num_timesteps": 60
  }
}'
```

## Parameters

| Name | Type | Default | Description |
|---|---|---|---|
| `gpu` | string one of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferred | `null` | Per-job GPU class override. |
| `binder_lengths` (essential) | list of integer |  | Binder backbone lengths to generate (one design run per length). |
| `hotspots` (essential) | list of string |  | Target hotspot residue IDs in 'Chain:Residue' format (e.g. 'A7:58'). Legacy single-letter forms such as 'B58' remain accepted. At least one is required. Max 16. |
| `num_samples` (essential) | integer | `10` | Backbones to generate per binder length; total generated = num_samples x number of binder_lengths. |
| `model` | string one of v1, v1.5 | `"v1.5"` | Psi checkpoint and sampling recipe. 'v1.5' is Psi-1.5 Cicada; 'v1' is Psi-1. |
| `num_timesteps` (essential) | integer | `60` | Diffusion timesteps. Follows `model` when omitted. |
| `simulation_type` | string one of sde, ode | `"sde"` | Sampling simulation type. 'sde' = stochastic (recommended); 'ode' = deterministic. |
| `noise_scale` | number | `0.3` | SDE noise magnitude (ignored for 'ode' simulation_type). Follows `model` when omitted. |
| `self_conditioning_mode` | string one of previous_step, same_timestep | `"previous_step"` | SDE self-conditioning. Follows `model` when omitted ('previous_step' for v1.5, 'same_timestep' for v1). |
| `output_formats` | list of string | `["pdb"]` | Output structure formats. |
| `preset` | string | `"binder_design_sde_default"` | Named algorithm baseline pinning the simulation/featurization defaults. |
| `allow_distant_binder_com` | boolean | `false` | Allow binder_center_of_mass beyond 40 Å from the hotspot CA centroid. Default false. |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `target_chain_id` (essential) | string | `"A"` | Auth chain ID(s) of the target in the structure. A single chain ('A') or a comma-separated list ('V,W') for a multi-chain target. Omit when target_crop names the chains. |
| `target_crop` | string | `null` | Target crop range(s) in unambiguous 'Chain:Start-End' format ('A7:17-209'), comma-separated per chain for multi-chain targets. Legacy forms such as 'V14-107,W14-107' remain accepted. Omit to use the full target chain(s). |
| `target_cif` | string | `null` | Target structure as base64-encoded CIF (preferred). Falls back to target_cif_gcs_uri, then target_pdb / target_pdb_gcs_uri. |
| `target_cif_gcs_uri` (essential) | string | `null` | gs:// URI to the target CIF. |
| `target_pdb` | string | `null` | Target structure as base64-encoded PDB (CIF is auto-converted). |
| `target_pdb_gcs_uri` | string | `null` | gs:// URI to the target PDB. |
| `binder_centering` | string one of predefined, sphere_exclusion, fixed_hotspot_offset | `"predefined"` |  |
| `binder_center_of_mass` (essential) | list of number | `null` | Center of mass [x, y, z] (Å) in the uploaded/cropped target PDB frame. Required when binder_centering is predefined. Must be finite and within 40 Å of the hotspot CA centroid unless params.allow_distant_binder_com is true. Omit when binder_centering is sphere_exclusion or fixed_hotspot_offset. |

---
Source: https://dynophi.com/docs/models/DYNOPSI. From the live API schema and phi-api's model catalog, 2026-11-23.