SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.13995 · 2025

FantasyID: Face Knowledge Enhanced ID-Preserving Video Generation

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2502.13995.json · badge: /api/ran/2502.13995.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Fantasy-AMAP/fantasy-id canonical (classifier label)
classifier basis not recorded on the link
13 ran · 2 no recorded run
FunctionStatusWhere it lives
FeedForward Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/models/face_abstractor.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from rainbowluocs/openomni, is pointer only (licence: NONE) · get_code("5105747c2711b1cb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from rainbowluocs/openomni, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_eos_tokens Ran
ran on a synthesized input
Fantasy-AMAP/fantasy-id/models/projectors.py
code served (permissive licence) · get_code("c25969b64473a346")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Parameter, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from transformers.configuration_utils import PretrainedConfig

torch.manual_seed(0)

class HoneybeeVisualProjectorConfig(PretrainedConfig):
    def __init__(self, projector_type: str='c-abs', num_eos_tokens: int=0, initializer_range: float=0.02, **kwargs):
        super().__init__(**kwargs)
        self.projector_type = projector_type
        self.num_eos_tokens = num_eos_tokens
        self.initializer_range = initializer_range

# Create a config with num_eos_tokens > 0 to test the main branch
config = HoneybeeVisualProjectorConfig(
    projector_type='c-abs',
    num_eos_tokens=3,
    initializer_range=0.02
)

output_hidden_size = 4

ARGS = {
    'config': config,
    'output_hidden_size': output_hidden_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Parameter, ndim 3, dtype family float — no output shape is stated: observe_signature.py recorded Tensor ndim 3, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_pos_embeds Ran
ran on a synthesized input
Fantasy-AMAP/fantasy-id/models/projectors.py
code served (permissive licence) · get_code("5a9384b1ad01e795")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Parameter, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from transformers.configuration_utils import PretrainedConfig
from transformers.models.deformable_detr import DeformableDetrConfig

torch.manual_seed(0)

class HoneybeeVisualProjectorConfig(PretrainedConfig):
    def __init__(self, projector_type: str='c-abs', num_eos_tokens: int=0, pos_emb: bool=True, **kwargs):
        super().__init__(**kwargs)
        self.projector_type = projector_type
        self.num_eos_tokens = num_eos_tokens
        self.pos_emb = pos_emb

    @staticmethod
    def from_exp_config(projector_config: dict, vision_hidden_size: int, lm_hidden_size: int):
        if projector_config['projector_type'] == 'd-abs':
            projector_config = DeformableDetrConfig(**projector_config).to_dict()
        inter_module_configs = {'encoder_hidden_size': vision_hidden_size, 'output_hidden_size': lm_hidden_size}
        projector_config = HoneybeeVisualProjectorConfig(**projector_config | inter_module_configs)
        return projector_config

def build_pos_embeds(config: HoneybeeVisualProjectorConfig, num_input_tokens: int, vision_hidden_size: int):
    if config.pos_emb:
        pos_emb = torch.nn.Parameter(torch.zeros(1, num_input_tokens, vision_hidden_size))
        nn.init.trunc_normal_(pos_emb, mean=0.0, std=0.02)
    else:
        pos_emb = None
    return pos_emb

config = HoneybeeVisualProjectorConfig(
    projector_type='c-abs',
    num_eos_tokens=0,
    pos_emb=True
)

ARGS = {
    'config': config,
    'num_input_tokens': 5,
    'vision_hidden_size': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Parameter, ndim 3, dtype family float — no output shape is stated: observe_signature.py recorded Tensor ndim 3, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_prompt_embeddings Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Fantasy-AMAP/fantasy-id/models/utils.py
code served (permissive licence) · get_code("083a6bdfd189d961")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (1, 226, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from transformers import T5EncoderModel, T5Tokenizer

torch.manual_seed(0)

# Create a minimal stand-in tokenizer
class StandInTokenizer:
    def __call__(self, prompt, padding=None, max_length=None, truncation=None, add_special_tokens=None, return_tensors=None):
        if isinstance(prompt, str):
            prompt = [prompt]
        batch_size = len(prompt)
        # Return a simple namespace with input_ids tensor
        class TokenizerOutput:
            def __init__(self, input_ids):
                self.input_ids = input_ids
        
        input_ids = torch.randint(0, 100, (batch_size, max_length), dtype=torch.long)
        return TokenizerOutput(input_ids)

# Create a minimal stand-in text encoder
class StandInTextEncoder(nn.Module):
    def __init__(self, hidden_size=8):
        super().__init__()
        self.hidden_size = hidden_size
        self.embedding = nn.Embedding(100, hidden_size)
    
    def forward(self, input_ids):
        # Encoder should return embeddings of shape (batch_size, seq_len, hidden_size)
        embeds = self.embedding(input_ids)
        return (embeds,)  # Return tuple as the function expects [0]

# Instantiate components
tokenizer = StandInTokenizer()
text_encoder = StandInTextEncoder(hidden_size=8)
prompt = "a cat jumping"
max_sequence_length = 226
device = torch.device("cpu")
dtype = torch.float32
requires_grad = False

ARGS = {
    "tokenizer": tokenizer,
    "text_encoder": text_encoder,
    "prompt": prompt,
    "max_sequence_length": max_sequence_length,
    "device": device,
    "dtype": dtype,
    "requires_grad": requires_grad,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (1, 226, 8) — shape (1, 226, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
draw_kps Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/models/pipeline_id.py
code served (permissive licence) · get_code("3a9e3b5be46cd837")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math
import cv2
import numpy as np
from PIL import Image

# Create a simple test image
width, height = 200, 150
image_array = np.ones((height, width, 3), dtype=np.uint8) * 255
image_pil = Image.fromarray(image_array)

# Create keypoints data
# 5 keypoints with (x, y) coordinates
kps = np.array([
    [50, 50],      # keypoint 0
    [100, 50],     # keypoint 1
    [75, 100],     # keypoint 2
    [60, 120],     # keypoint 3
    [90, 120]      # keypoint 4
], dtype=np.float32)

# Default color list
color_list = [(255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255)]

ARGS = {
    'image_pil': image_pil,
    'kps': kps,
    'color_list': color_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
encode_prompt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Fantasy-AMAP/fantasy-id/models/utils.py
code served (permissive licence) · get_code("70450d0b824cf3e6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (4, 226, 64) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from transformers import T5Tokenizer, T5EncoderModel

torch.manual_seed(0)

# Create a minimal mock tokenizer
class MockT5Tokenizer:
    def __call__(self, prompt, padding=None, max_length=None, truncation=None, add_special_tokens=None, return_tensors=None):
        batch_size = len(prompt) if isinstance(prompt, list) else 1
        # Return a mock tokenizer output with input_ids
        class TokenizerOutput:
            def __init__(self, input_ids):
                self.input_ids = input_ids
        
        input_ids = torch.randint(0, 1000, (batch_size, max_length))
        return TokenizerOutput(input_ids)

# Create a minimal mock T5EncoderModel
class MockT5EncoderModel(nn.Module):
    def __init__(self, hidden_size=768):
        super().__init__()
        self.hidden_size = hidden_size
        # Linear layer to project input to hidden size
        self.projection = nn.Linear(1000, hidden_size)
    
    def forward(self, input_ids):
        # Return a tuple where first element is the hidden states
        # Shape: (batch_size, seq_len, hidden_size)
        batch_size, seq_len = input_ids.shape
        hidden_states = torch.randn(batch_size, seq_len, self.hidden_size)
        return (hidden_states,)

# Instantiate the mocks
tokenizer = MockT5Tokenizer()
text_encoder = MockT5EncoderModel(hidden_size=64)

# Define arguments
ARGS = {
    'tokenizer': tokenizer,
    'text_encoder': text_encoder,
    'prompt': ['a cat jumping', 'a dog running'],
    'num_videos_per_prompt': 2,
    'max_sequence_length': 226,
    'device': torch.device('cpu'),
    'dtype': torch.float32,
    'text_input_ids': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (4, 226, 64) — shape (4, 226, 64) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_resize_crop_region_for_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Fantasy-AMAP/fantasy-id/models/pipeline_cogvideox.py
code served (permissive licence) · get_code("734fd43f6aaef115")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# The function takes:
# - src: a tuple of (height, width) dimensions
# - tgt_width: target width (int)
# - tgt_height: target height (int)

ARGS = {
    "src": (480, 640),           # source dimensions as (height, width)
    "tgt_width": 224,            # target width
    "tgt_height": 224            # target height
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reshape_tensor Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Fantasy-AMAP/fantasy-id/models/face_abstractor.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Minyeol/MIDAS, is pointer only (licence: NONE) · get_code("4cb2e2a2ca0bec9f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Minyeol/MIDAS, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/models/pipeline_cogvideox.py
code served (permissive licence) · get_code("22b1f260da28f6a5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import inspect
from typing import List, Optional, Union

torch.manual_seed(0)

class MockScheduler:
    """Mock scheduler that implements set_timesteps and has timesteps attribute."""
    
    def __init__(self, supports_timesteps=True, supports_sigmas=False):
        self.supports_timesteps = supports_timesteps
        self.supports_sigmas = supports_sigmas
        self.timesteps = torch.tensor([999, 500, 250, 0], dtype=torch.long)
        self._device = None
    
    def set_timesteps(self, num_inference_steps: Optional[int] = None, 
                      device: Optional[Union[str, torch.device]] = None,
                      timesteps: Optional[List[int]] = None,
                      sigmas: Optional[List[float]] = None,
                      **kwargs):
        """Mock set_timesteps method."""
        self._device = device
        
        if timesteps is not None:
            self.timesteps = torch.tensor(timesteps, dtype=torch.long)
        elif sigmas is not None:
            # Create timesteps from sigmas
            self.timesteps = torch.tensor([int(s * 1000) for s in sigmas], dtype=torch.long)
        elif num_inference_steps is not None:
            # Create default timesteps
            self.timesteps = torch.linspace(999, 0, num_inference_steps, dtype=torch.long)
        
        if device is not None:
            self.timesteps = self.timesteps.to(device)

# Create a basic scheduler instance
scheduler = MockScheduler(supports_timesteps=True, supports_sigmas=False)

ARGS = {
    "scheduler": scheduler,
    "num_inference_steps": 4,
    "device": "cpu",
    "timesteps": None,
    "sigmas": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tensor_to_pil Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/models/utils.py
code served (permissive licence) · get_code("6d7dce3292d1b3e1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch
from PIL import Image

torch.manual_seed(0)

# Create a valid image tensor
# Shape: (C, H, W) where C=3 (RGB), H=4, W=5
# Values in range [0, 255] for uint8 conversion
src_img_tensor = torch.randint(0, 256, (3, 4, 5), dtype=torch.uint8).float()

ARGS = {
    "src_img_tensor": src_img_tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_np Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/decalib/models/FLAME.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from wjrzm/VP-MoCap, is pointer only (licence: NONE) · get_code("43ebe3b786b2d59b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from wjrzm/VP-MoCap, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_sparse Ran
ran on a synthesized input
Fantasy-AMAP/fantasy-id/models/vertex_encode.py
code served (permissive licence) · get_code("56a78bc81ef23be7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import scipy.sparse as sp

torch.manual_seed(0)

# Create a small sparse matrix using scipy
# The function expects an object with tocoo() method that returns a COO sparse matrix
rows = [0, 1, 2]
cols = [0, 1, 2]
data = [1.0, 2.0, 3.0]
spmat = sp.coo_matrix((data, (rows, cols)), shape=(3, 3))
# Convert to CSR format to have tocoo() method available
spmat = spmat.tocsr()

ARGS = {
    "spmat": spmat
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, shape (3, 3) — shape (3, 3) as a later run recorded it
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_tensor Ran
ran; our contract draft was wrong, not the code
Fantasy-AMAP/fantasy-id/decalib/models/FLAME.py
code served (permissive licence) · get_code("94904a5bd2e1074f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Test case 1: numpy array
array_numpy = np.array([1.0, 2.0, 3.0, 4.0])

# Test case 2: python list
array_list = [1.0, 2.0, 3.0, 4.0]

# Test case 3: already a torch tensor (should not convert)
array_torch = torch.tensor([1.0, 2.0, 3.0, 4.0])

# Use the numpy array as the primary test case
ARGS = {
    "array": array_numpy,
    "dtype": torch.float32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
check_local_file Not yet run
unverified (harvested, no recorded run)
Fantasy-AMAP/fantasy-id/models/projectors.py
code served (permissive licence) · get_code("e3017f9dc26de2b5")
How it ran

no invocation recorded.

process_image Not yet run
unverified (harvested, no recorded run)
Fantasy-AMAP/fantasy-id/models/pipeline_id.py
code served (permissive licence) · get_code("c17ad34b7b0cba0e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 3 the same month, 9 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
FeedForward 47 other papers
36 dated earlier, 1 the same month, 8 later, 2 same year, order not determinable · 4 only as an assembly brick
2204.14198 (2022-04)
Flamingo: a Visual Language Model for Few-Shot Learning
2308.02463 (2023-08)
Towards Generalist Foundation Model for Radiology by Leveraging Web-scale 2D&3D Medical Data
2308.06721 (2023-08)
IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models
and 44 more not named here
retrieve_timesteps 46 other papers
17 dated earlier, 1 the same month, 25 later, 1 same year, order not determinable, 2 undated
2312.04461 (2023-12)
PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding
2402.10491 (2024-02)
Make a Cheap Scaling: A Self-Cascade Diffusion Model for Higher-Resolution Adaptation
2405.18991 (2024-05)
EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation
and 43 more not named here
reshape_tensor 30 other papers
23 dated earlier, 5 later, 2 same year, order not determinable
2308.06721 (2023-08)
IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models
2312.04461 (2023-12)
PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding
2312.16693 (2023-12)
I2V-Adapter: A General Image-to-Video Adapter for Diffusion Models
and 27 more not named here
to_np 9 other papers
8 dated earlier, 1 later · 1 only as an assembly brick
2104.03953 (2021-04)
SNARF: Differentiable Forward Skinning for Animating Non-Rigid Neural Implicit Shapes
2112.07471 (2021-12)
I M Avatar: Implicit Morphable Head Avatars from Videos
2203.12575 (2022-03)
NeuMan: Neural Human Radiance Field from a Single Video
and 6 more not named here
get_resize_crop_region_for_grid 8 other papers
4 dated earlier, 1 the same month, 3 later
2405.18991 (2024-05)
EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation
2407.21705 (2024-07)
Tora: Trajectory-oriented Diffusion Transformer for Video Generation
2410.07659 (2024-10)
MotionAura: Generating High-Quality and Motion Consistent Videos using Discrete Diffusion
and 5 more not named here
to_tensor 6 other papers
5 dated earlier, 1 later
2104.03953 (2021-04)
SNARF: Differentiable Forward Skinning for Animating Non-Rigid Neural Implicit Shapes
2112.07471 (2021-12)
I M Avatar: Implicit Morphable Head Avatars from Videos
2307.13459 (2023-07)
Weakly-supervised 3D Pose Transfer with Keypoints
and 3 more not named here
encode_prompt 4 other papers
2 dated earlier, 2 later
2412.00596 (2024-12)
PhyT2V: LLM-Guided Iterative Self-Refinement for Physics-Grounded Text-to-Video Generation
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers
2503.20287 (2025-03)
InsViE-1M: Effective Instruction-based Video Editing with Elaborate Dataset Construction
and 1 more not named here
compute_prompt_embeddings 3 other papers
2 dated earlier, 1 later
2412.00596 (2024-12)
PhyT2V: LLM-Guided Iterative Self-Refinement for Physics-Grounded Text-to-Video Generation
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers
2503.20287 (2025-03)
InsViE-1M: Effective Instruction-based Video Editing with Elaborate Dataset Construction
draw_kps 3 other papers
1 dated earlier, 2 later
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers
2503.16418 (2025-03)
InfiniteYou: Flexible Photo Recrafting While Preserving Your Identity
2505.20292 (2025-05)
OpenS2V-Nexus: A Detailed Benchmark and Million-Scale Dataset for Subject-to-Video Generation
process_image 1 other paper
1 dated earlier
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers
tensor_to_pil 1 other paper
1 dated earlier
2501.01790 (2025-01)
Ingredients: Blending Custom Photos with Video Diffusion Transformers

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Tuning-free approaches adapting large-scale pre-trained video diffusion models for identity-preserving text-to-video generation (IPT2V) have gained popularity recently due to their efficacy and scalability. However, significant challenges remain to achieve satisfied facial dynamics while keeping the identity unchanged. In this work, we present a novel tuning-free IPT2V framework by enhancing face knowledge of the pre-trained video model built on diffusion transformers (DiT), dubbed FantasyID. Essentially, 3D facial geometry prior is incorporated to ensure plausible facial structures during video synthesis. To prevent the model from learning copy-paste shortcuts that simply replicate reference face across frames, a multi-view face augmentation strategy is devised to capture diverse 2D facial appearance features, hence increasing the dynamics over the facial expressions and head poses. Additionally, after blending the 2D and 3D features as guidance, instead of naively employing cross-attention to inject guidance cues into DiT layers, a learnable layer-aware adaptive mechanism is employed to selectively inject the fused features into each individual DiT layers, facilitating balanced modeling of identity preservation and motion dynamics. Experimental results validate our model's superiority over the current tuning-free IPT2V methods.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2502.13995")
get_code_for_paper("2502.13995")
have("2502.13995")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2502.13995.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2502.13995.svg)](https://syntology.ai/paper/2502.13995)

Connect an agent — have() is free.