Post

fold_all_atom

/api/v1/fold_all_atom

(ESMFold2) Folds molecular complexes containing proteins, dna, rna, and ligands. Defaults to esmfold2-fast-2026-05 if no model is given

Request

Include your API key in the Authorization header as a Bearer token.
Bodyapplication/json
modelstring | null

You may have access to additional, private models as well. These will be visible on the Rate Limits page under the Developer Console

Allowed values:esmfold2-fast-2026-05esmfold2-2026-05null
potential_sequence_of_concernboolean

Disclose potential sequences of concern. For approved users, such sequences will not go through additional safety filtering. Reach out if you are interested in using this.

Default:false
sequencestring | null

Input sequence to be folded.

msaMSA | null

MSA data for the query sequence.

num_loopsinteger

Number of trunk loops for iterative refinement.

Default:20Range:[0, 20]
num_sampling_stepsinteger

Diffusion ODE solver steps. Lower for speed, higher for quality.

Default:100Range:[1, 100]
lm_dropoutnumber

Dropout probability on LM pair embeddings. When > 0, dropout is applied.

Default:0.3Range:[0, 1]
lm_mask_pctnumber

Fraction of sequence residues randomly masked before the PLM backbone. If not provided, defaults to 0.1 for ESMFOLD2_FAST and 0.0 for ESMFOLD2

Default:0Range:[0, 1]
msa_max_depthinteger | null

Number of MSA rows randomly subsampled each loop. Set to null to disable (sets msa_subsample_at_inference to False).

Default:1024Range:[1, 16384]
msa_column_mask_ratenumber

Fraction of MSA columns randomly masked in non-query rows for inference-time diversity.

Default:0.1Range:[0, 1]
include_distogramboolean

Whether to include distogram predictions in the response.

Default:false
include_paeboolean

Whether to include Predicted Aligned Error (PAE) matrix in the response.

Default:false
include_pair_chains_iptmboolean

Whether to include pair-chain IPTM predictions in the response.

Default:false
all_atom_inputFoldAllAtomInput | null

All atom input (protein, RNA, DNA, and ligand) to fold. If provided, performs all-atom folding and ignores the sequence and msa inputs.

include_embeddingsboolean

Whether to include sequence and pair embeddings in the response.

Default:false