Skip to main content
POST
(ESM3) Generates an output track conditioned on inputs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

accept
string | null

Body

application/json
model
enum<string>
required

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

Available options:
esm3-open-2024-03
track
string
required

Track to generate: sequence, structure, secondary_structure, sasa, or function.

inputs
object
required
potential_sequence_of_concern
boolean
default:false

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.

invalid_ids
integer[]

Token indices that should not be sampled.

schedule
enum<string>
default:cosine

Unmasking schedule for generation. Controls the number of tokens to unmask during each round of iterative generation.

Available options:
cosine,
linear
strategy
enum<string>
default:random

Unmasking strategy to use. Controls which tokens to unmask during each round of iterative generation. 'random' will unmask a correct number of tokens randomly. 'entropy' will unmask the tokens with the lowest logit entropy first. Default was random. Updated on 02/14/2025.

Available options:
random,
entropy
num_steps
integer
default:20

Number of steps for generation. There is diminishing return for decoding steps more than 20. Note that this needs to be less than or equal to the sequence length. Default was 8. Updated on 02/14/2025.

Required range: 1 <= x <= 100
temperature
number
default:0.5

Temperature for sampling. Default was 1.0. Updated on 02/14/2025.

Required range: x >= 0
temperature_annealing
boolean
default:true

Whether temperature should be annealed during generation. Default was False. Updated on 02/14/2025.

top_p
number
default:1

Top-p sampling.

Required range: x <= 1
condition_on_coordinates_only
boolean
default:true

Use coordinates instead of structure tokens as generation conditioning.

only_compute_backbone_rmsd
boolean
default:false

Only compute the RMSD of the backbone atoms. Affects the returned crmsd.

include_pae
boolean
default:false

Whether to include Predicted Aligned Error (PAE) matrix in the response. Local inference ignores this flag.

Response

Successful Response

model
enum<string>
required

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

Available options:
esm3-open-2024-03
created
string
required

ISO formatted date time

potential_sequence_of_concern
boolean
default:false

Indicate that the returned sequence may be of potential concerns.

warning_messages
string[] | null

Warning messages returned by FastAPI.

outputs
object | null